Prevent multiple inclusion in header

This commit is contained in:
Vinnie Falco
2013-05-24 19:52:26 -07:00
parent c97860c7a8
commit abf75c726e
2 changed files with 69 additions and 63 deletions

View File

@@ -1,3 +1,7 @@
#ifndef RIPPLE_SECUREALLOCATOR_H
#define RIPPLE_SECUREALLOCATOR_H
//
// Allocator that locks its contents from being paged
// out of memory and clears its contents before deletion.
@@ -41,3 +45,5 @@ struct secure_allocator : public std::allocator<T>
std::allocator<T>::deallocate(p, n);
}
};
#endif