summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-24 18:26:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-24 18:26:52 +0300
commit67ee3168a45ea09a863de5be2e0a94cf1afbe6dc (patch)
treeaa33639f3e70f81444b893bbbb99ab78f6beb2d6 /src/resources/map/maplayer.h
parenta602d5c2460b197866028cfb3d2aa2b7b3aea80c (diff)
downloadmanaverse-67ee3168a45ea09a863de5be2e0a94cf1afbe6dc.tar.gz
manaverse-67ee3168a45ea09a863de5be2e0a94cf1afbe6dc.tar.bz2
manaverse-67ee3168a45ea09a863de5be2e0a94cf1afbe6dc.tar.xz
manaverse-67ee3168a45ea09a863de5be2e0a94cf1afbe6dc.zip
Fix compilation with clang.
Diffstat (limited to 'src/resources/map/maplayer.h')
-rw-r--r--src/resources/map/maplayer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h
index 458f49d00..750db4e4b 100644
--- a/src/resources/map/maplayer.h
+++ b/src/resources/map/maplayer.h
@@ -105,11 +105,11 @@ class MapLayer final: public ConfigListener
const int scrollX,
const int scrollY) const restrict A_NONNULL(2);
- void drawSDL(Graphics *restrict const graphics) const restrict
+ void drawSDL(Graphics *restrict const graphics) const restrict2
A_NONNULL(2);
#ifdef USE_OPENGL
- void drawOGL(Graphics *restrict const graphics) const restrict
+ void drawOGL(Graphics *restrict const graphics) const restrict2
A_NONNULL(2);
void updateOGL(Graphics *restrict const graphics,
@@ -118,7 +118,7 @@ class MapLayer final: public ConfigListener
int endX,
int endY,
const int scrollX,
- const int scrollY) restrict A_NONNULL(2);
+ const int scrollY) restrict2 A_NONNULL(2);
#endif
void updateSDL(const Graphics *restrict const graphics,
@@ -127,7 +127,7 @@ class MapLayer final: public ConfigListener
int endX,
int endY,
const int scrollX,
- const int scrollY) restrict A_NONNULL(2);
+ const int scrollY) restrict2 A_NONNULL(2);
void drawFringe(Graphics *restrict const graphics,
int startX,