A typename qualification is required on value_type.

This commit is contained in:
chris 2004-01-09 00:49:20 +00:00
parent 6233ceba48
commit a55f2ea4b7

View File

@ -46,8 +46,9 @@ public:
op_base* new_op = new op<Handler>(descriptor, handler);
typedef typename operation_map::iterator iterator;
typedef typename operation_map::value_type value_type;
std::pair<iterator, bool> entry =
operations_.insert(operation_map::value_type(descriptor, new_op));
operations_.insert(value_type(descriptor, new_op));
if (entry.second)
return true;