summaryrefslogtreecommitdiff
path: root/src/resources/loaders/subimageloader.cpp
diff options
context:
space:
mode:
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)