From 1e867f57606f47108e94e16f5bf77d069da985b2 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Thu, 30 Sep 2010 16:34:27 +0000 Subject: [PATCH] Fix broken gcc build introduced during vc2010 fixes --- include/chaiscript/dispatchkit/bootstrap_stl.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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");