diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-07 18:37:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-07 18:37:50 +0300 |
commit | 3dbdda0d3070a093f8a341f897ce4310a8b52bd2 (patch) | |
tree | ddb5a48767c97cbb95e8204acfeb667483477051 /src/resources/map/maplayer.h | |
parent | 3173688b7c1a1027257aa057039bd50738ac8bb5 (diff) | |
download | manaverse-3dbdda0d3070a093f8a341f897ce4310a8b52bd2.tar.gz manaverse-3dbdda0d3070a093f8a341f897ce4310a8b52bd2.tar.bz2 manaverse-3dbdda0d3070a093f8a341f897ce4310a8b52bd2.tar.xz manaverse-3dbdda0d3070a093f8a341f897ce4310a8b52bd2.zip |
Add some missing nonnull attributes to map/maplayer classes.
Diffstat (limited to 'src/resources/map/maplayer.h')
-rw-r--r-- | src/resources/map/maplayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h index b4aec3ac3..45dcaec02 100644 --- a/src/resources/map/maplayer.h +++ b/src/resources/map/maplayer.h @@ -165,11 +165,11 @@ class MapLayer final: public ConfigListener protected: static int getTileDrawWidth(const TileInfo *restrict img, const int endX, - int &width) A_WARN_UNUSED; + int &width) A_WARN_UNUSED A_NONNULL(1); void updateConditionTiles(MetaTile *restrict const metaTiles, const int width, - const int height) restrict; + const int height) restrict A_NONNULL(2); private: const int mX; |