deepseek-ai--3fs
b32f5e8d49
* Refactor SimpleRingBuffer - Use std::allocator for memory management - Add destructor to properly destroy elements and prevent memory leaks - Remove incorrect modulo in iterator increment - Fix iterator post-increment operator returning reference - Use constraints (std::constructible_from) for push/emplace - Add size() and clear() methods * tests: fix build and avoid NodeInfoWrapper copy The copy constructor for SimpleRingBuffer is explicitly disabled in src/common/utils/SimpleRingBuffer.h. Since NodeInfoWrapper contains a SimpleRingBuffer, it is also non-copyable. This commit optimizes the MgmtdOperator tests to use pointers instead of object copies when retrieving NodeInfoWrapper, avoiding build failures caused by dereferencing and copying.