Let template parameter type same as declaration in hpp file.

This commit is contained in:
XinGang Li 2013-02-18 23:34:00 +08:00
parent 7f1e416313
commit 7bb5676f11

View file

@ -45,7 +45,7 @@ namespace mapnik {
template <typename T>
void grid2utf(T const& grid_type,
boost::python::list& l,
std::vector<grid::lookup_type>& key_order)
std::vector<typename T::lookup_type>& key_order)
{
typedef std::map< typename T::lookup_type, typename T::value_type> keys_type;
typedef typename keys_type::const_iterator keys_iterator;