diff options
Diffstat (limited to 'ACE/ace/Vector_T.h')
-rw-r--r-- | ACE/ace/Vector_T.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Vector_T.h b/ACE/ace/Vector_T.h index e132dd9851c..e4cf710602e 100644 --- a/ACE/ace/Vector_T.h +++ b/ACE/ace/Vector_T.h @@ -25,7 +25,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL /* * Default size for an ACE_Vector. */ -static const size_t ACE_VECTOR_DEFAULT_SIZE = 32; +static constexpr size_t ACE_VECTOR_DEFAULT_SIZE = 32; // Forward declaration. template <class T, size_t DEFAULT_SIZE> class ACE_Vector_Iterator; @@ -88,7 +88,7 @@ public: /** * Destructor. */ - ~ACE_Vector (); + ~ACE_Vector () = default; /// Declare the dynamic allocation hooks. ACE_ALLOC_HOOK_DECLARE; |