diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-06-23 15:49:21 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-06-23 15:49:21 +0100 |
commit | 9f92cab6b884711ca8be050b500a2880a955f001 (patch) | |
tree | fa0999a72436a81c82c49ba8dc473522ac30ceb6 /yage/core/imageloader.h | |
parent | 3702e753a5f7b31c31261c968757e19e808a84ec (diff) | |
download | YAGE-9f92cab6b884711ca8be050b500a2880a955f001.tar.gz YAGE-9f92cab6b884711ca8be050b500a2880a955f001.zip |
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.
Diffstat (limited to 'yage/core/imageloader.h')
-rw-r--r-- | yage/core/imageloader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yage/core/imageloader.h b/yage/core/imageloader.h index f4c0d90d..0c78ae93 100644 --- a/yage/core/imageloader.h +++ b/yage/core/imageloader.h @@ -19,7 +19,7 @@ class Texture; class ImageLoader { public: - static Texture loadPng(const std::string &file_path); + static Texture loadPng(std::string const &file_path); }; } // namespace yage |