diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-22 19:35:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-22 19:35:22 +0300 |
commit | 34bd6e0b8e0fb74cc416550a52e6406c47fefea6 (patch) | |
tree | f2e36f2ae2b721de22be4e1b18cf1dd09ba03741 /src/resources/loaders/subimageloader.cpp | |
parent | 1ee6d71c1d771ab8a990ef427a59f54132910ac7 (diff) | |
download | mv-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.tar.gz mv-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.tar.bz2 mv-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.tar.xz mv-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.zip |
Add some missing consts.
Diffstat (limited to 'src/resources/loaders/subimageloader.cpp')
-rw-r--r-- | src/resources/loaders/subimageloader.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/resources/loaders/subimageloader.cpp b/src/resources/loaders/subimageloader.cpp index 0be91e942..5b014362b 100644 --- a/src/resources/loaders/subimageloader.cpp +++ b/src/resources/loaders/subimageloader.cpp @@ -35,9 +35,11 @@ namespace { struct SubImageLoader final { - Image *parent; - int x, y; - int width, height; + Image *const parent; + const int x; + const int y; + const int width; + const int height; static Resource *load(const void *const v) { if (!v) |