diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2026-06-05 21:40:44 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-05 21:40:44 -0300 |
| commit | 5174fc25698cff33b03b5746bf1742e417988f7d (patch) | |
| tree | 232a3acdd9b458de481dbd5cbde889505168c8e8 /include/IStorageBackend.h | |
| parent | 85ed897de3676af866cc619dc700025820c02201 (diff) | |
| download | RNT-5174fc25698cff33b03b5746bf1742e417988f7d.tar.gz RNT-5174fc25698cff33b03b5746bf1742e417988f7d.zip | |
Project C interface, reroute FOL plan enums & format
Diffstat (limited to 'include/IStorageBackend.h')
| -rw-r--r-- | include/IStorageBackend.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/IStorageBackend.h b/include/IStorageBackend.h index e408c95..a7cc782 100644 --- a/include/IStorageBackend.h +++ b/include/IStorageBackend.h @@ -15,8 +15,7 @@ * Merkle class, not by this interface. Only Put and Get are required. */ -namespace nt -{ +namespace nt { /** * @interface IStorageBackend * @brief Contract between CursorManager / Merkle and a physical storage engine. @@ -29,9 +28,8 @@ namespace nt * maintains insertion-order-independent relation membership on top of these * two primitives. */ - class IStorageBackend - { - public: + class IStorageBackend { + public: virtual ~IStorageBackend() = default; /** @@ -48,4 +46,4 @@ namespace nt */ virtual std::optional<std::vector<uint8_t>> Get(const std::string& hash) = 0; }; -} +} // namespace nt |
