Various updates

This commit is contained in:
Duke Leto
2020-12-08 14:37:58 -05:00
parent fc5c773d66
commit 4fd9ae6f94
6 changed files with 28 additions and 35 deletions

View File

@@ -8,13 +8,9 @@
#define HUSH_SUPPORT_ALLOCATORS_SECURE_H
#include "support/pagelocker.h"
#include <string>
//
// Allocator that locks its contents from being paged
// out of memory and clears its contents before deletion.
//
template <typename T>
struct secure_allocator : public std::allocator<T> {
// MSVC8 default copy constructor is broken