24 lines
714 B
Plaintext
24 lines
714 B
Plaintext
$OpenBSD: patch-BastetBlockChooser_hpp,v 1.1 2017/12/26 19:19:15 rsadowski Exp $
|
|
|
|
Index: BastetBlockChooser.hpp
|
|
--- BastetBlockChooser.hpp.orig
|
|
+++ BastetBlockChooser.hpp
|
|
@@ -23,7 +23,7 @@
|
|
|
|
#include "Well.hpp"
|
|
|
|
-#include <boost/tr1/tr1/unordered_set>
|
|
+#include <boost/unordered_set.hpp>
|
|
#include <set>
|
|
#include <boost/functional/hash.hpp>
|
|
|
|
@@ -75,7 +75,7 @@ namespace Bastet{
|
|
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;
|