Split sync/async handling into the BIF methods

This commit is contained in:
Tim Wojtulewicz 2025-02-19 14:58:59 -07:00
parent c247de8ec3
commit e766af7322
8 changed files with 260 additions and 181 deletions

View file

@ -13,7 +13,7 @@ namespace btest::storage::backend {
*/
class StorageDummy : public zeek::storage::Backend {
public:
StorageDummy(std::string_view tag) : Backend(false, tag) {}
StorageDummy(std::string_view tag) : Backend(zeek::storage::SupportedModes::SYNC, tag) {}
~StorageDummy() override = default;
static zeek::storage::BackendPtr Instantiate(std::string_view tag);