项目文件夹

文件
qieqieplus b32f5e8d49 Fix SimpleRingBuffer issues (#383)
* 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.
2026-01-20 13:15:43 +08:00
..
2025-03-03 08:44:22 +08:00
2025-02-27 21:53:53 +08:00
2025-02-27 21:53:53 +08:00
2025-03-18 08:51:58 +08:00
2025-02-27 21:53:53 +08:00
2025-03-03 08:44:22 +08:00
2025-02-27 21:53:53 +08:00
2026-01-20 13:15:43 +08:00
2025-02-27 21:53:53 +08:00
2025-02-27 21:53:53 +08:00
2025-02-27 21:53:53 +08:00
2025-02-27 21:53:53 +08:00
2025-02-27 21:53:53 +08:00
2025-02-27 21:53:53 +08:00
2025-02-27 21:53:53 +08:00