diff --git a/include/cpp_event_framework/StaticPool.hxx b/include/cpp_event_framework/StaticPool.hxx index a64dbdf..ab529f6 100644 --- a/include/cpp_event_framework/StaticPool.hxx +++ b/include/cpp_event_framework/StaticPool.hxx @@ -108,10 +108,7 @@ public: { last_->next = ptr; } - else - { - last_ = ptr; - } + last_ = ptr; fill_level_++; assert(FillLevel() <= NumElements);