Fix broken gcc build introduced during vc2010 fixes
This commit is contained in:
parent
670eb0692b
commit
1e867f5760
@ -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<frontptr>(&ContainerType::front)), "front");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user