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/spritedef.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/spritedef.h') diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h index 533042c02..f7415e187 100644 --- a/src/resources/spritedef.h +++ b/src/resources/spritedef.h @@ -145,8 +145,8 @@ class SpriteDef final : public Resource /** * Returns the specified action. */ - Action *getAction(const std::string &action, - const unsigned num) const A_WARN_UNUSED; + const Action *getAction(const std::string &action, + const unsigned num) const A_WARN_UNUSED; unsigned findNumber(const unsigned num) const A_WARN_UNUSED; -- cgit v1.2.3-60-g2f50