diff options
| author | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-06-23 12:15:53 -0300 |
|---|---|---|
| committer | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-06-23 12:15:53 -0300 |
| commit | baddc2ae66fe62f836cf203c523e82ae2c44e62c (patch) | |
| tree | 78fb6d899ca07cfcc40c496ca33b516fc80c6d8d /include/core | |
| parent | 5b7fff2bf028f54244aa766dc9aba7868aa85a7e (diff) | |
| download | redot-cpp-baddc2ae66fe62f836cf203c523e82ae2c44e62c.tar.gz | |
Fix clang warning: 'const' type qualifier on return type has no effect
Diffstat (limited to 'include/core')
| -rw-r--r-- | include/core/PoolArrays.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/core/PoolArrays.hpp b/include/core/PoolArrays.hpp index eba7b9c..bc681ac 100644 --- a/include/core/PoolArrays.hpp +++ b/include/core/PoolArrays.hpp @@ -104,7 +104,7 @@ public: void set(const int idx, const uint8_t data); - const uint8_t operator [](const int idx); + uint8_t operator [](const int idx); int size() const; @@ -200,7 +200,7 @@ public: void set(const int idx, const int data); - const int operator [](const int idx); + int operator [](const int idx); int size() const; @@ -296,7 +296,7 @@ public: void set(const int idx, const real_t data); - const real_t operator [](const int idx); + real_t operator [](const int idx); int size() const; |
