diff --git a/utils/allocation_strategy.hh b/utils/allocation_strategy.hh index e578df0f50..5583dcd462 100644 --- a/utils/allocation_strategy.hh +++ b/utils/allocation_strategy.hh @@ -59,7 +59,7 @@ public: template inline size_t -size_for_allocation_strategy(const T& obj) { +size_for_allocation_strategy(const T& obj) noexcept { return sizeof(T); }