Index: courgette/memory_allocator.h |
diff --git a/courgette/memory_allocator.h b/courgette/memory_allocator.h |
index 3f5143252102f973d0e61cfc4f6b1d1e37b8bb6f..d356a3b598d09651c19e2a9c93a09d3e2aef38df 100644 |
--- a/courgette/memory_allocator.h |
+++ b/courgette/memory_allocator.h |
@@ -181,16 +181,15 @@ class MemoryAllocator { |
typedef MemoryAllocator<OtherT> other; |
}; |
- MemoryAllocator() _THROW0() { |
- } |
+ MemoryAllocator() {} |
// 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() { // NOLINT |
+ MemoryAllocator(const MemoryAllocator<T>& other) { // NOLINT |
} |
- template<class OtherT> |
- MemoryAllocator(const MemoryAllocator<OtherT>& other) _THROW0() { // NOLINT |
+ template <class OtherT> |
+ MemoryAllocator(const MemoryAllocator<OtherT>& other) { // NOLINT |
} |
~MemoryAllocator() { |
@@ -252,7 +251,7 @@ class MemoryAllocator { |
ptr->~T(); |
} |
- size_type max_size() const _THROW0() { |
+ size_type max_size() const { |
size_type count = static_cast<size_type>(-1) / sizeof(T); |
return (0 < count ? count : 1); |
} |