summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Base/SafeAllocator.h')
-rw-r--r--Swiften/Base/SafeAllocator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Base/SafeAllocator.h b/Swiften/Base/SafeAllocator.h
index d2e49b4..5f9ac70 100644
--- a/Swiften/Base/SafeAllocator.h
+++ b/Swiften/Base/SafeAllocator.h
@@ -1,8 +1,8 @@
/*
- * Copyright (c) 2011-2014 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
@@ -12,13 +12,13 @@
#include <Swiften/Base/API.h>
namespace Swift {
void secureZeroMemory(char* memory, size_t numberOfBytes);
template<typename T>
- class SafeAllocator : public std::allocator<T> {
+ class SWIFTEN_API SafeAllocator : public std::allocator<T> {
public:
template <class U> struct rebind {
typedef SafeAllocator<U> other;
};
SafeAllocator() SWIFTEN_NOEXCEPT {}