File unordered_set.patch of Package bastet
diff -Nur bastet-0.43.2/BastetBlockChooser.hpp bastet-0.43.2-new/BastetBlockChooser.hpp
--- bastet-0.43.2/BastetBlockChooser.hpp 2015-08-30 09:04:24.000000000 +0200
+++ bastet-0.43.2-new/BastetBlockChooser.hpp 2018-02-10 17:20:32.231812040 +0100
@@ -23,8 +23,7 @@
#include "Well.hpp"
-#include <boost/tr1/tr1/unordered_set>
-#include <set>
+#include <boost/unordered_set.hpp>
#include <boost/functional/hash.hpp>
namespace Bastet{
@@ -75,7 +74,7 @@
public:
Searcher(BlockType b, const Well *well, Vertex v, WellVisitor *visitor);
private:
- std::tr1::unordered_set<Vertex> _visited;
+ boost::unordered_set<Vertex> _visited;
//std::set<Vertex> _visited; ^^ the above is more efficient, we need to do many inserts
BlockType _block;
const Well *_well;