Skip to content

Commit 668bc50

Browse files
committed
Static pool can be final
1 parent ba1a3ad commit 668bc50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/cpp_event_framework/StaticPool.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace cpp_event_framework
3333
* @tparam Alignment Alignment requirement
3434
*/
3535
template <uint32_t NumElements, size_t ElemSize, Mutex MutexType = std::mutex, size_t Alignment = sizeof(uint64_t)>
36-
class StaticPool : public std::pmr::memory_resource
36+
class StaticPool final : public std::pmr::memory_resource
3737
{
3838
private:
3939
static constexpr size_t kAlignedElementSize = ((ElemSize + Alignment) / Alignment) * Alignment;

0 commit comments

Comments
 (0)