diff options
Diffstat (limited to 'courgette/memory_allocator.h')
-rw-r--r-- | courgette/memory_allocator.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/courgette/memory_allocator.h b/courgette/memory_allocator.h index 0b2f376..4774b88 100644 --- a/courgette/memory_allocator.h +++ b/courgette/memory_allocator.h @@ -181,7 +181,9 @@ class MemoryAllocator { MemoryAllocator() _THROW0() { } - explicit MemoryAllocator(const MemoryAllocator<T>& other) _THROW0() { + // We can't use an explicit constructor here, as dictated by our style guide. + // The implementation of basic_string in Visual Studio 2010 prevents this. + MemoryAllocator(const MemoryAllocator<T>& other) _THROW0() { } template<class OtherT> |