summaryrefslogtreecommitdiffstats
path: root/include/jau/counting_callocator.hpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-01-07 19:21:55 +0100
committerSven Gothel <[email protected]>2021-01-07 19:21:55 +0100
commit36f0e7518cc9deb51d21daae818fcf81670adc13 (patch)
treecd822e371790aebbf50cdafb4d4a1cc6ee988144 /include/jau/counting_callocator.hpp
parent481ae35a5cc14c2b7723501660809dca2dd0cae9 (diff)
callocator: Need ctor constexpr callocator(const callocator& other, const bool keep_stats) noexcept
counting_allocator: drop ctor 'constexpr counting_allocator(const counting_allocator& other, const bool keep_stats) noexcept'
Diffstat (limited to 'include/jau/counting_callocator.hpp')
-rw-r--r--include/jau/counting_callocator.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jau/counting_callocator.hpp b/include/jau/counting_callocator.hpp
index 1be2403..e6f5c76 100644
--- a/include/jau/counting_callocator.hpp
+++ b/include/jau/counting_callocator.hpp
@@ -121,7 +121,7 @@ struct counting_callocator : public jau::callocator<T>
{ }
#endif
constexpr counting_callocator(const counting_callocator& other, const bool keep_stats) noexcept
- : jau::callocator<value_type>(other),
+ : jau::callocator<value_type>(other, keep_stats),
// id(next_id++),
old_stats(keep_stats ? false : true),
memory_usage(other.memory_usage),