expressions_test: change properties_type to std::map
This commit is contained in:
parent
42d3f2d0d3
commit
6befc23101
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
||||||
#include <mapnik/unicode.hpp>
|
#include <mapnik/unicode.hpp>
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <vector>
|
#include <map>
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ std::string parse_and_dump(std::string const& str)
|
||||||
TEST_CASE("expressions")
|
TEST_CASE("expressions")
|
||||||
{
|
{
|
||||||
using namespace std::placeholders;
|
using namespace std::placeholders;
|
||||||
using properties_type = std::vector<std::pair<std::string, mapnik::value> > ;
|
using properties_type = std::map<std::string, mapnik::value>;
|
||||||
mapnik::transcoder tr("utf8");
|
mapnik::transcoder tr("utf8");
|
||||||
|
|
||||||
properties_type prop = {{ "foo" , tr.transcode("bar") },
|
properties_type prop = {{ "foo" , tr.transcode("bar") },
|
||||||
|
|
Loading…
Reference in a new issue