diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:49:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:49:08 +0300 |
commit | 5c3746562bafd61603c67958fc82ff097a69e3a4 (patch) | |
tree | c36e46dd4df2bc7388e7e82b6e6ae8294c4ecd02 /src/maplayer.h | |
parent | 60b386b1a97a052cea867dd3a4f7a9c52394b312 (diff) | |
download | manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.gz manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.bz2 manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.xz manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.zip |
Add missing const and static into other classes.
Diffstat (limited to 'src/maplayer.h')
-rw-r--r-- | src/maplayer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/maplayer.h b/src/maplayer.h index 697f52c89..dcfdb991e 100644 --- a/src/maplayer.h +++ b/src/maplayer.h @@ -177,8 +177,9 @@ class MapLayer final: public ConfigListener void optionChanged(const std::string &value) override final; - int getTileDrawWidth(const Image *img, - const int endX, int &width) const A_WARN_UNUSED; + static int getTileDrawWidth(const Image *img, + const int endX, + int &width) A_WARN_UNUSED; private: int mX; |