diff --git a/include/chaiscript/dispatchkit/bootstrap_stl.hpp b/include/chaiscript/dispatchkit/bootstrap_stl.hpp index e66aed4..0ece3fd 100644 --- a/include/chaiscript/dispatchkit/bootstrap_stl.hpp +++ b/include/chaiscript/dispatchkit/bootstrap_stl.hpp @@ -267,8 +267,8 @@ namespace chaiscript ModulePtr front_insertion_sequence_type(const std::string &, ModulePtr m = ModulePtr(new Module())) { typedef typename ContainerType::reference (ContainerType::*frontptr)(); - typedef typename void (ContainerType::*pushptr)(ContainerType::const_reference); - typedef typename void (ContainerType::*popptr)(); + typedef void (ContainerType::*pushptr)(typename ContainerType::const_reference); + typedef void (ContainerType::*popptr)(); m->add(fun(static_cast(&ContainerType::front)), "front");