prefer STL containers - boost::unordered_map --> std::unordered_map
This commit is contained in:
parent
dd8394687d
commit
93937ca443
1 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <boost/unordered_map.hpp>
|
#include <unordered_map>
|
||||||
|
|
||||||
#if defined(_MSC_VER) && _MSC_VER < 1900
|
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
@ -283,7 +283,7 @@ SECTION("to string") {
|
||||||
REQUIRE( val == true );
|
REQUIRE( val == true );
|
||||||
|
|
||||||
// mapnik::value hashability
|
// mapnik::value hashability
|
||||||
using values_container = boost::unordered_map<mapnik::value, unsigned>;
|
using values_container = std::unordered_map<mapnik::value, unsigned>;
|
||||||
values_container vc;
|
values_container vc;
|
||||||
mapnik::value val2(1);
|
mapnik::value val2(1);
|
||||||
vc[val2] = 1;
|
vc[val2] = 1;
|
||||||
|
|
Loading…
Reference in a new issue