From 34bd6e0b8e0fb74cc416550a52e6406c47fefea6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 22 Aug 2016 19:35:22 +0300 Subject: Add some missing consts. --- src/resources/loaders/subimageloader.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/resources/loaders/subimageloader.cpp') 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) -- cgit v1.2.3-70-g09d2