summaryrefslogtreecommitdiff
path: root/src/resources/loaders/subimageloader.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-22 19:35:22 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-22 19:35:22 +0300
commit34bd6e0b8e0fb74cc416550a52e6406c47fefea6 (patch)
treef2e36f2ae2b721de22be4e1b18cf1dd09ba03741 /src/resources/loaders/subimageloader.cpp
parent1ee6d71c1d771ab8a990ef427a59f54132910ac7 (diff)
downloadmv-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.cpp8
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)