Experimenting with adding comparisons

This commit is contained in:
Jonathan Turner
2009-06-04 15:28:45 +00:00
parent 8f89e44608
commit 00430e4592
3 changed files with 46 additions and 9 deletions

View File

@@ -36,7 +36,8 @@ class BoxedCPP_System
template<typename Class>
void add_object(const std::string &name, const Class &obj)
{
m_objects.insert(std::make_pair(name, Boxed_Value(obj)));
//m_objects.insert(std::make_pair(name, Boxed_Value(obj)));
m_objects[name] = Boxed_Value(obj);
}
Boxed_Value get_object(const std::string &name) const