Files
rippled/include
Pratik Mankawde 017ef1b33e fix(telemetry): keep Counter's copy semantics the same in both builds
std::atomic implicitly deletes copy and move, so a class holding a Counter is
non-copyable when telemetry is compiled in. Compiled out, Counter was an empty
type with no such member, which would have made that same owner freely
copyable in one build only -- the per-configuration API difference these
utilities exist to avoid.

Declare copy and move deleted so both builds agree, and assert it
unconditionally in the tests.
2026-08-27 12:18:57 +01:00
..