From 99906c44cf9208dee4e808e03fddd1f209b6b7fc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Sep 2013 00:58:25 +0300 Subject: add const for methods return values. --- src/resources/action.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/action.h') diff --git a/src/resources/action.h b/src/resources/action.h index 16f3d96d5..c3b4852b3 100644 --- a/src/resources/action.h +++ b/src/resources/action.h @@ -43,7 +43,7 @@ class Action final void setAnimation(const int direction, Animation *const animation); - Animation *getAnimation(int direction) const A_WARN_UNUSED; + const Animation *getAnimation(int direction) const A_WARN_UNUSED; unsigned getNumber() const A_WARN_UNUSED { return mNumber; } -- cgit v1.2.3-60-g2f50