C++11 related cleanup and improvments

This commit is contained in:
Jason Turner
2014-09-15 21:16:44 -06:00
parent 6c2ccf3869
commit 5861c45fc1
5 changed files with 18 additions and 34 deletions

View File

@@ -334,8 +334,8 @@ namespace chaiscript
{
}
Boxed_Number(const Boxed_Value &v)
: bv(v)
Boxed_Number(Boxed_Value v)
: bv(std::move(v))
{
validate_boxed_number(v);
}