MCPcopy Create free account
hub / github.com/apache/kvrocks / Counter

Method Counter

tests/cppunit/observer_or_unique_test.cc:25–25  ·  view source on GitHub ↗

NOLINT

Source from the content-addressed store, hash-verified

23#include <gtest/gtest.h>
24struct Counter { // NOLINT
25 explicit Counter(int* i) : i(i) { ++*i; }
26 ~Counter() { --*i; }
27
28 int* i;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected