diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-12 18:26:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-12 18:26:16 +0300 |
commit | 67638eeec5267977940dce29c5a94ce4d093ed69 (patch) | |
tree | 2bacbaba1379e57c846929ef31e949fb2bd7f946 /src/resources/mstack.h | |
parent | 3308da97a29b1170e720b4341456bb39869bed24 (diff) | |
download | manaverse-67638eeec5267977940dce29c5a94ce4d093ed69.tar.gz manaverse-67638eeec5267977940dce29c5a94ce4d093ed69.tar.bz2 manaverse-67638eeec5267977940dce29c5a94ce4d093ed69.tar.xz manaverse-67638eeec5267977940dce29c5a94ce4d093ed69.zip |
Add constexpr and noexcept into some methods.
Diffstat (limited to 'src/resources/mstack.h')
-rw-r--r-- | src/resources/mstack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/mstack.h b/src/resources/mstack.h index f8a49af49..2fcf558a2 100644 --- a/src/resources/mstack.h +++ b/src/resources/mstack.h @@ -28,7 +28,7 @@ template<typename T> struct MStack final { - explicit MStack(const size_t maxSize) : + constexpr2 explicit MStack(const size_t maxSize) : mStack(new T[maxSize]), mMaxSize(maxSize), mPointer(mStack - 1), |