diff options
Diffstat (limited to 'src/include/ckm/ckm-raw-buffer.h')
-rw-r--r-- | src/include/ckm/ckm-raw-buffer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/ckm/ckm-raw-buffer.h b/src/include/ckm/ckm-raw-buffer.h index 8ae908f0..7fad01d8 100644 --- a/src/include/ckm/ckm-raw-buffer.h +++ b/src/include/ckm/ckm-raw-buffer.h @@ -26,10 +26,12 @@ #include <string.h> #include <vector> +#define KEY_MANAGER_API __attribute__((visibility("default"))) + namespace CKM { template <typename T> -struct std_erase_on_dealloc { +struct KEY_MANAGER_API std_erase_on_dealloc { // MJK: if re-factoring, remember not to inherit from the std::allocator ! // MJK: to be replaced with much shorter version once std::allocator_traits // becomes supported in STL containers (i.e. list, vector and string) |