summaryrefslogtreecommitdiff
path: root/sci-electronics/gazebo/files/boost174.patch
blob: 82bbdf40f7a7b4a50f9e8a65397e751b5a258aed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: gazebo-11.1.0/plugins/SimpleTrackedVehiclePlugin.cc
===================================================================
--- gazebo-11.1.0.orig/plugins/SimpleTrackedVehiclePlugin.cc
+++ gazebo-11.1.0/plugins/SimpleTrackedVehiclePlugin.cc
@@ -30,6 +30,7 @@
 
 #include "plugins/SimpleTrackedVehiclePlugin.hh"
 
+#if BOOST_VERSION < 107400 || defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
 namespace std {
 template<class T>
 class hash<boost::shared_ptr<T>> {
@@ -38,6 +39,7 @@ class hash<boost::shared_ptr<T>> {
   }
 };
 }
+#endif
 
 namespace gazebo
 {