diff options
Diffstat (limited to 'src/resources/imageset.h')
-rw-r--r-- | src/resources/imageset.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/resources/imageset.h b/src/resources/imageset.h index 8f377369..6c7d59ab 100644 --- a/src/resources/imageset.h +++ b/src/resources/imageset.h @@ -51,10 +51,9 @@ class ImageSet : public Resource */ int getHeight() const { return mHeight; } - using size_type = std::vector<Image *>::size_type; - Image *get(size_type i) const; + Image *get(size_t i) const; - size_type size() const { return mImages.size(); } + size_t size() const { return mImages.size(); } int getOffsetX() const { return mOffsetX; } |