diff options
author | Martijn Otto <martijn.otto@copernica.com> | 2015-08-28 16:18:19 +0200 |
---|---|---|
committer | Martijn Otto <martijn.otto@copernica.com> | 2015-08-28 16:18:19 +0200 |
commit | 2b05fbb7f0e0c05d8c34848465efd86f8010be32 (patch) | |
tree | 4fab7381df2ad16ebdb5a184fcbbb5a3561d8383 /include/array.h | |
parent | 82e9d69f3a25565273f560792cfc46ea8ff25ec3 (diff) |
Remove NOEXCEPT specification for the Array constructor since it can throw. Closes #219
Diffstat (limited to 'include/array.h')
-rw-r--r-- | include/array.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/array.h b/include/array.h index c4250d4..cf9c349 100644 --- a/include/array.h +++ b/include/array.h @@ -38,7 +38,7 @@ public: * Move constructor from a value object * @param value */ - Array(Value &&value) _NOEXCEPT : Value(std::move(value)) + Array(Value &&value) : Value(std::move(value)) { // type must be valid if (value.type() != Type::Array) throw FatalError("Moving a non-array to an array variable"); |