allocation_strategy: Mark size_for_allocation_strategy noexcept
Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user