mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-07 23:42:28 +00:00
This change replaces all include guards in the `src/` and `include/` directories by `#pragma once`.
23 lines
361 B
C++
23 lines
361 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <memory>
|
|
|
|
namespace beast {
|
|
namespace insight {
|
|
|
|
class Counter;
|
|
|
|
class CounterImpl : public std::enable_shared_from_this<CounterImpl>
|
|
{
|
|
public:
|
|
using value_type = std::int64_t;
|
|
|
|
virtual ~CounterImpl() = 0;
|
|
virtual void
|
|
increment(value_type amount) = 0;
|
|
};
|
|
|
|
} // namespace insight
|
|
} // namespace beast
|