diff options
Diffstat (limited to 'src/util/units.cpp')
| -rw-r--r-- | src/util/units.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/units.cpp b/src/util/units.cpp index 35493bcbc..0308623d5 100644 --- a/src/util/units.cpp +++ b/src/util/units.cpp @@ -14,6 +14,7 @@ #include <iomanip> #include <iostream> #include <utility> +#include <unordered_map> #include <glib.h> #include <glibmm/regex.h> #include <glibmm/fileutils.h> @@ -81,7 +82,7 @@ unsigned const svg_length_lookup[] = { // maps unit codes obtained from their abbreviations to their SVGLength unit indexes -typedef INK_UNORDERED_MAP<unsigned, SVGLength::Unit> UnitCodeLookup; +typedef std::unordered_map<unsigned, SVGLength::Unit> UnitCodeLookup; UnitCodeLookup make_unit_code_lookup() { @@ -96,7 +97,7 @@ UnitCodeLookup const unit_code_lookup = make_unit_code_lookup(); -typedef INK_UNORDERED_MAP<Glib::ustring, Inkscape::Util::UnitType> TypeMap; +typedef std::unordered_map<Glib::ustring, Inkscape::Util::UnitType> TypeMap; /** A std::map that gives the data type value for the string version. * @todo consider hiding map behind hasFoo() and getFoo() type functions. */ |
