summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/multi-path-manipulator.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-10-18 22:53:43 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-10-18 23:26:26 +0000
commitddffc1a8ab9e3357a8e0350ff08b5ef1a9fb2651 (patch)
tree9c91b6224ee6af12f030f03635f52b654db59840 /src/ui/tool/multi-path-manipulator.cpp
parentMerge branch 'bugfix-1789838-confirmation-needed-before-overwriting-template'... (diff)
downloadinkscape-ddffc1a8ab9e3357a8e0350ff08b5ef1a9fb2651.tar.gz
inkscape-ddffc1a8ab9e3357a8e0350ff08b5ef1a9fb2651.zip
Remove util/unordered-containers.h aliases.
Diffstat (limited to 'src/ui/tool/multi-path-manipulator.cpp')
-rw-r--r--src/ui/tool/multi-path-manipulator.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/tool/multi-path-manipulator.cpp b/src/ui/tool/multi-path-manipulator.cpp
index dd700d9b3..a92b129e9 100644
--- a/src/ui/tool/multi-path-manipulator.cpp
+++ b/src/ui/tool/multi-path-manipulator.cpp
@@ -10,6 +10,8 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
+#include <unordered_set>
+
#include <gdk/gdkkeysyms.h>
#include <glibmm/i18n.h>
@@ -39,13 +41,13 @@ struct hash_nodelist_iterator
: public std::unary_function<NodeList::iterator, std::size_t>
{
std::size_t operator()(NodeList::iterator i) const {
- return INK_HASH<NodeList::iterator::pointer>()(&*i);
+ return std::hash<NodeList::iterator::pointer>()(&*i);
}
};
typedef std::pair<NodeList::iterator, NodeList::iterator> IterPair;
typedef std::vector<IterPair> IterPairList;
-typedef INK_UNORDERED_SET<NodeList::iterator, hash_nodelist_iterator> IterSet;
+typedef std::unordered_set<NodeList::iterator, hash_nodelist_iterator> IterSet;
typedef std::multimap<double, IterPair> DistanceMap;
typedef std::pair<double, IterPair> DistanceMapItem;