From 02e77e7bbc86697c1c55e1a1bbaf1360e5f31a68 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Fri, 23 Oct 2020 13:34:53 -0700 Subject: [PATCH] SimpleTrackedVehiclePlugin: fix for boost 1.74 Disable some code in SimpleTrackedVehiclePlugin for boost 1.74 or greater due to changes in boost shared_ptr.hpp Signed-off-by: Steve Peters --- plugins/SimpleTrackedVehiclePlugin.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/SimpleTrackedVehiclePlugin.cc b/plugins/SimpleTrackedVehiclePlugin.cc index 3be4776f8f..c5a22b0278 100644 --- a/plugins/SimpleTrackedVehiclePlugin.cc +++ b/plugins/SimpleTrackedVehiclePlugin.cc @@ -18,6 +18,8 @@ #include #include +#include + #include #include #include @@ -30,6 +32,7 @@ #include "plugins/SimpleTrackedVehiclePlugin.hh" +#if BOOST_VERSION < 107400 namespace std { template class hash> { @@ -38,6 +41,7 @@ class hash> { } }; } +#endif namespace gazebo {