diff options
Diffstat (limited to 'storage')
-rw-r--r-- | storage/src/tests/persistence/filestorage/filestormanagertest.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/storage/src/tests/persistence/filestorage/filestormanagertest.cpp b/storage/src/tests/persistence/filestorage/filestormanagertest.cpp index f4ede33ab06..9142a03ab85 100644 --- a/storage/src/tests/persistence/filestorage/filestormanagertest.cpp +++ b/storage/src/tests/persistence/filestorage/filestormanagertest.cpp @@ -243,9 +243,11 @@ struct FileStorHandlerComponents { filestorHandler = std::make_unique<FileStorHandlerImpl>(messageSender, metrics, test._node->getComponentRegister()); filestorHandler->setGetNextMessageTimeout(50ms); } - ~FileStorHandlerComponents() {} + ~FileStorHandlerComponents(); }; +FileStorHandlerComponents::~FileStorHandlerComponents() = default; + struct PersistenceHandlerComponents : public FileStorHandlerComponents { ServiceLayerComponent component; BucketOwnershipNotifier bucketOwnershipNotifier; @@ -264,12 +266,14 @@ struct PersistenceHandlerComponents : public FileStorHandlerComponents { *filestorHandler, bucketOwnershipNotifier, *metrics.disk->threads[0]); } + ~PersistenceHandlerComponents(); std::unique_ptr<DiskThread> make_disk_thread() { return createThread(*persistenceHandler, *filestorHandler, component); } - ~PersistenceHandlerComponents() {} }; +PersistenceHandlerComponents::~PersistenceHandlerComponents() = default; + } void |