From 3830f066d58f6c83836ed761e108fdb13bf12f09 Mon Sep 17 00:00:00 2001 From: Dmytro Korenkov Date: Fri, 15 Mar 2024 14:05:36 +0100 Subject: [PATCH] make destructor as default --- rosbag2_storage_mcap/src/mcap_storage.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rosbag2_storage_mcap/src/mcap_storage.cpp b/rosbag2_storage_mcap/src/mcap_storage.cpp index 483eeeada..56dd8d22c 100644 --- a/rosbag2_storage_mcap/src/mcap_storage.cpp +++ b/rosbag2_storage_mcap/src/mcap_storage.cpp @@ -849,7 +849,7 @@ class ROSBAG2_STORAGE_MCAP_PUBLIC MCAPStorageSnapshot { public: MCAPStorageSnapshot(); - ~MCAPStorageSnapshot() override; + ~MCAPStorageSnapshot() override = default; /** BaseIOInterface **/ #ifdef ROSBAG2_STORAGE_MCAP_HAS_STORAGE_OPTIONS void open(const rosbag2_storage::StorageOptions & storage_options, @@ -917,10 +917,6 @@ MCAPStorageSnapshot::MCAPStorageSnapshot():storage_(nullptr),current_storage_siz { } -MCAPStorageSnapshot::~MCAPStorageSnapshot() -{ -} - /** BaseIOInterface **/ #ifdef ROSBAG2_STORAGE_MCAP_HAS_STORAGE_OPTIONS void MCAPStorageSnapshot::open(const rosbag2_storage::StorageOptions & storage_options,