Skip to content
Snippets Groups Projects
Commit f48cbb62 authored by Dmitry Kalinkin's avatar Dmitry Kalinkin Committed by Wouter Deconinck
Browse files

algorithms::detail::CachedBitGenerator: make min/max methods static

parent 14158d17
Branches
No related tags found
1 merge request!495algorithms::detail::CachedBitGenerator: make min/max methods static
...@@ -31,8 +31,8 @@ public: ...@@ -31,8 +31,8 @@ public:
return m_cache[m_index++]; return m_cache[m_index++];
} }
constexpr value_type min() const { return 0; } static constexpr value_type min() { return 0; }
constexpr value_type max() const { return std::numeric_limits<value_type>::max(); } static constexpr value_type max() { return std::numeric_limits<value_type>::max(); }
private: private:
void refresh() { void refresh() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment