From 9f92cab6b884711ca8be050b500a2880a955f001 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 23 Jun 2018 15:49:21 +0100 Subject: Switching to east const This is compared to const west, which is not very consistent, as const always acts on what is on its left, and if there isn't anything on the left, it will act on what is on its right. By always placing const on the right of what it should act on, the rule becomes more consistent. --- yage/core/texturecache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yage/core/texturecache.h') diff --git a/yage/core/texturecache.h b/yage/core/texturecache.h index 45cc0a9d..1a0b3e0d 100644 --- a/yage/core/texturecache.h +++ b/yage/core/texturecache.h @@ -24,7 +24,7 @@ private: public: TextureCache() = default; - Texture getTexture(const std::string &texture_path, int x = 1, int y = 1); + Texture getTexture(std::string const &texture_path, int x = 1, int y = 1); }; } // namespace yage -- cgit