A couple of cleanups and fixes

This commit is contained in:
Jason Turner
2015-06-19 20:10:45 -06:00
parent f9860216c9
commit 646563eb3f
2 changed files with 3 additions and 2 deletions

View File

@@ -438,7 +438,7 @@ namespace chaiscript
/// Set the value of an object, by name. If the object
/// is not available in the current scope it is created
void add(const Boxed_Value &obj, const std::string &name)
void add(Boxed_Value obj, const std::string &name)
{
validate_object_name(name);
auto &stack = get_stack_data();