allocation_strategy: Mark size_for_allocation_strategy noexcept

Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
This commit is contained in:
Pavel Emelyanov
2021-05-19 09:19:53 +03:00
parent dbb6851d4d
commit fdfcda97d7

View File

@@ -59,7 +59,7 @@ public:
template <typename T>
inline
size_t
size_for_allocation_strategy(const T& obj) {
size_for_allocation_strategy(const T& obj) noexcept {
return sizeof(T);
}