Port VC++ fix from last rev back to Linux

This commit is contained in:
Jason Turner 2009-08-09 18:42:32 +00:00
parent 4a57efde25
commit bc3a17b3b7

View File

@ -387,7 +387,7 @@ namespace chaiscript
ModulePtr unique_associative_container_type(const std::string &type, ModulePtr m = ModulePtr(new Module())) ModulePtr unique_associative_container_type(const std::string &type, ModulePtr m = ModulePtr(new Module()))
{ {
associative_container_type<ContainerType>(type, m); associative_container_type<ContainerType>(type, m);
m->add(fun<size_t (ContainerType::*)(const ContainerType::key_type &) const>(&ContainerType::count), "count"); m->add(fun<size_t (ContainerType::*)(const typename ContainerType::key_type &) const>(&ContainerType::count), "count");
return m; return m;
} }