From c430b75e370a21a17f80d4ba3acd84111828a462 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 26 Sep 2013 20:08:44 +0300 Subject: add const for methods return values. --- src/resources/dye.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/dye.h') diff --git a/src/resources/dye.h b/src/resources/dye.h index ba0b378d0..c5e60b520 100644 --- a/src/resources/dye.h +++ b/src/resources/dye.h @@ -116,13 +116,13 @@ class Dye final /** * Return special dye palete (S) */ - DyePalette *getSPalete() const A_WARN_UNUSED + const DyePalette *getSPalete() const A_WARN_UNUSED { return mDyePalettes[sPaleteIndex]; } /** * Return special dye palete (A) */ - DyePalette *getAPalete() const A_WARN_UNUSED + const DyePalette *getAPalete() const A_WARN_UNUSED { return mDyePalettes[aPaleteIndex]; } /** -- cgit v1.2.3-60-g2f50