Move constructor and noexcept correctness

This commit is contained in:
Jason Turner
2014-09-21 14:19:41 -06:00
parent e4b9be6e09
commit 4f5a6da280
3 changed files with 36 additions and 66 deletions

View File

@@ -337,7 +337,7 @@ namespace chaiscript
Boxed_Number(Boxed_Value v)
: bv(std::move(v))
{
validate_boxed_number(v);
validate_boxed_number(bv);
}
template<typename T> explicit Boxed_Number(T t)