mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-08 07:52:29 +00:00
This change replaces all include guards in the `src/` and `include/` directories by `#pragma once`.
20 lines
335 B
C++
20 lines
335 B
C++
#pragma once
|
|
|
|
namespace xrpl {
|
|
namespace NodeStore {
|
|
|
|
/** Derived classes perform scheduled tasks. */
|
|
struct Task
|
|
{
|
|
virtual ~Task() = default;
|
|
|
|
/** Performs the task.
|
|
The call may take place on a foreign thread.
|
|
*/
|
|
virtual void
|
|
performScheduledTask() = 0;
|
|
};
|
|
|
|
} // namespace NodeStore
|
|
} // namespace xrpl
|