summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/multi-path-manipulator.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-03-02 22:52:32 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-03-02 22:52:32 +0000
commit84fc09c9c921a31ac826c53e419d4ea61584f8a9 (patch)
tree963de2de0cd357d863d3ba104167abef31683750 /src/ui/tool/multi-path-manipulator.cpp
parentWin32. Fix for Object Visible warning. (diff)
downloadinkscape-84fc09c9c921a31ac826c53e419d4ea61584f8a9.tar.gz
inkscape-84fc09c9c921a31ac826c53e419d4ea61584f8a9.zip
Use Boost unordeed containers instead of TR1 to minimize pain
when using Apple compilers. (bzr r9129)
Diffstat (limited to 'src/ui/tool/multi-path-manipulator.cpp')
-rw-r--r--src/ui/tool/multi-path-manipulator.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ui/tool/multi-path-manipulator.cpp b/src/ui/tool/multi-path-manipulator.cpp
index 5d7b520c8..f5646ac36 100644
--- a/src/ui/tool/multi-path-manipulator.cpp
+++ b/src/ui/tool/multi-path-manipulator.cpp
@@ -8,7 +8,7 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include <tr1/unordered_set>
+#include <boost/unordered_set.hpp>
#include <boost/shared_ptr.hpp>
#include <glib.h>
#include <glibmm/i18n.h>
@@ -25,15 +25,13 @@
#include "ui/tool/multi-path-manipulator.h"
#include "ui/tool/path-manipulator.h"
-namespace std { using namespace tr1; }
-
namespace Inkscape {
namespace UI {
namespace {
typedef std::pair<NodeList::iterator, NodeList::iterator> IterPair;
typedef std::vector<IterPair> IterPairList;
-typedef std::unordered_set<NodeList::iterator> IterSet;
+typedef boost::unordered_set<NodeList::iterator> IterSet;
typedef std::multimap<double, IterPair> DistanceMap;
typedef std::pair<double, IterPair> DistanceMapItem;