cufflinks/0008-boost_bind_header.patch

47 lines
1.3 KiB
Diff
Raw Normal View History

2021-03-30 16:17:39 +08:00
diff --git a/src/bundles.h b/src/bundles.h
index e7caf06..6fb8681 100644
--- a/src/bundles.h
+++ b/src/bundles.h
@@ -12,7 +12,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include <boost/bind.hpp>
+#include <boost/bind/bind.hpp>
#include <boost/random.hpp>
#include <vector>
#include <numeric>
diff --git a/src/cuffquant.cpp b/src/cuffquant.cpp
index 2634e98..5c5ffd2 100644
--- a/src/cuffquant.cpp
+++ b/src/cuffquant.cpp
@@ -43,6 +43,7 @@ vector<string> sample_labels;
using namespace std;
using namespace boost;
+using namespace boost::placeholders;
// We leave out the short codes for options that don't take an argument
#if ENABLE_THREADS
diff --git a/src/transitive_closure.h b/src/transitive_closure.h
index fc23976..d982396 100644
--- a/src/transitive_closure.h
+++ b/src/transitive_closure.h
@@ -27,7 +27,7 @@
#include <algorithm> // for std::min and std::max
#include <functional>
#include <boost/config.hpp>
-#include <boost/bind.hpp>
+#include <boost/bind/bind.hpp>
#include <boost/graph/vector_as_graph.hpp>
#include <boost/graph/strong_components.hpp>
#include <boost/graph/topological_sort.hpp>
@@ -35,6 +35,7 @@
#include <boost/graph/named_function_params.hpp>
using namespace boost;
+using namespace boost::placeholders;
typedef uint16_t v_id_size_type;