diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-07 13:16:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-09 10:13:18 +0200 |
commit | 35163715ead39eece619a5790903c88fa4216ec6 (patch) | |
tree | 68f657e8f4137d234d1b6b32835e3ff540b4b01a /include/o3tl | |
parent | hinter: 'after' better than 'behind' (diff) | |
download | core-35163715ead39eece619a5790903c88fa4216ec6.tar.gz core-35163715ead39eece619a5790903c88fa4216ec6.zip |
loplugin:staticmethods
Change-Id: Ie348778ea666c24e95e048386547f301083a0017
Diffstat (limited to 'include/o3tl')
-rw-r--r-- | include/o3tl/enumarray.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/o3tl/enumarray.hxx b/include/o3tl/enumarray.hxx index 76fdec12f38b..777e205b8cf5 100644 --- a/include/o3tl/enumarray.hxx +++ b/include/o3tl/enumarray.hxx @@ -66,7 +66,7 @@ public: void fill(V val) { for (size_type i=0; i<=max_index; ++i) detail_values[i] = val; } - size_type size() const { return max_index + 1; } + static size_type size() { return max_index + 1; } iterator begin() { return iterator(*this, 0); } iterator end() { return iterator(*this, size()); } |