Fix single parameter constructors found by cppcheck

This commit is contained in:
Jason Turner
2016-10-28 15:49:40 -06:00
parent b1f1803759
commit 28122f7cb0
14 changed files with 33 additions and 33 deletions

View File

@@ -238,7 +238,7 @@ namespace chaiscript
{
}
Constant_AST_Node(Boxed_Value t_value)
explicit Constant_AST_Node(Boxed_Value t_value)
: AST_Node_Impl<T>("", AST_Node_Type::Constant, Parse_Location()),
m_value(std::move(t_value))
{