fix iterator type
This commit is contained in:
parent
9ac581a67e
commit
2901860cee
1 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@ void grid2utf(T const& grid_type,
|
||||||
std::vector<typename T::lookup_type>& key_order)
|
std::vector<typename T::lookup_type>& key_order)
|
||||||
{
|
{
|
||||||
using keys_type = std::map< typename T::lookup_type, typename T::value_type>;
|
using keys_type = std::map< typename T::lookup_type, typename T::value_type>;
|
||||||
using keys_iterator = typename keys_type::const_iterator;
|
using keys_iterator = typename keys_type::iterator;
|
||||||
|
|
||||||
typename T::data_type const& data = grid_type.data();
|
typename T::data_type const& data = grid_type.data();
|
||||||
typename T::feature_key_type const& feature_keys = grid_type.get_feature_keys();
|
typename T::feature_key_type const& feature_keys = grid_type.get_feature_keys();
|
||||||
|
@ -114,7 +114,7 @@ void grid2utf(T const& grid_type,
|
||||||
unsigned int resolution)
|
unsigned int resolution)
|
||||||
{
|
{
|
||||||
using keys_type = std::map< typename T::lookup_type, typename T::value_type>;
|
using keys_type = std::map< typename T::lookup_type, typename T::value_type>;
|
||||||
using keys_iterator = typename keys_type::const_iterator;
|
using keys_iterator = typename keys_type::iterator;
|
||||||
|
|
||||||
typename T::feature_key_type const& feature_keys = grid_type.get_feature_keys();
|
typename T::feature_key_type const& feature_keys = grid_type.get_feature_keys();
|
||||||
typename T::feature_key_type::const_iterator feature_pos;
|
typename T::feature_key_type::const_iterator feature_pos;
|
||||||
|
@ -177,7 +177,7 @@ void grid2utf2(T const& grid_type,
|
||||||
unsigned int resolution)
|
unsigned int resolution)
|
||||||
{
|
{
|
||||||
using keys_type = std::map< typename T::lookup_type, typename T::value_type>;
|
using keys_type = std::map< typename T::lookup_type, typename T::value_type>;
|
||||||
using keys_iterator = typename keys_type::const_iterator;
|
using keys_iterator = typename keys_type::iterator;
|
||||||
|
|
||||||
typename T::data_type const& data = grid_type.data();
|
typename T::data_type const& data = grid_type.data();
|
||||||
typename T::feature_key_type const& feature_keys = grid_type.get_feature_keys();
|
typename T::feature_key_type const& feature_keys = grid_type.get_feature_keys();
|
||||||
|
|
Loading…
Reference in a new issue