diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-10-01 12:30:59 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-10-01 12:30:59 +0200 |
| commit | eb11e1d94a976fafa594c25e387a130bef3c1173 (patch) | |
| tree | 48db287070091f8255e41f7a07fbcfde591766ac /modules | |
| parent | e69e3cb018619b51f35004284056af383eab0bd7 (diff) | |
| download | forstio-forstio-eb11e1d94a976fafa594c25e387a130bef3c1173.tar.gz | |
Fixing deconstructor issues
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/codec/tests/SConscript | 4 | ||||
| -rw-r--r-- | modules/core/c++/buffer.hpp | 2 | ||||
| -rw-r--r-- | modules/core/tests/SConscript | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/modules/codec/tests/SConscript b/modules/codec/tests/SConscript index ebaf45f..08a8c71 100644 --- a/modules/codec/tests/SConscript +++ b/modules/codec/tests/SConscript @@ -13,8 +13,8 @@ dir_path = Dir('.').abspath test_cases_env = env.Clone(); test_cases_env.Append(LIBS=['forstio-test']); -# test_cases_env.Append(CCFLAGS=['-fsanitize=address','-g']); -# test_cases_env.Append(LINKFLAGS=['-fsanitize=address']); +test_cases_env.Append(CCFLAGS=['-fsanitize=address','-g']); +test_cases_env.Append(LINKFLAGS=['-fsanitize=address']); test_cases_env.sources = sorted(glob.glob(dir_path + "/*.cpp")) test_cases_env.headers = sorted(glob.glob(dir_path + "/*.hpp")) diff --git a/modules/core/c++/buffer.hpp b/modules/core/c++/buffer.hpp index 8b62131..e551de3 100644 --- a/modules/core/c++/buffer.hpp +++ b/modules/core/c++/buffer.hpp @@ -15,7 +15,7 @@ namespace saw { */ class buffer { public: - ~buffer() = default; + virtual ~buffer() = default; virtual size_t read_position() const = 0; virtual size_t read_composite_length() const = 0; diff --git a/modules/core/tests/SConscript b/modules/core/tests/SConscript index b35f238..2c86827 100644 --- a/modules/core/tests/SConscript +++ b/modules/core/tests/SConscript @@ -13,8 +13,8 @@ dir_path = Dir('.').abspath test_cases_env = env.Clone(); test_cases_env.Append(CCFLAGS=['-g']); -# test_cases_env.Append(CCFLAGS=['-fsanitize=address','-g']); -# test_cases_env.Append(LINKFLAGS=['-fsanitize=address']); +test_cases_env.Append(CCFLAGS=['-fsanitize=address','-g']); +test_cases_env.Append(LINKFLAGS=['-fsanitize=address']); test_cases_env.sources = sorted(glob.glob(dir_path + "/*.cpp")) test_cases_env.headers = sorted(glob.glob(dir_path + "/*.hpp")) |
