Remove dead code branches (#6875)

This commit is contained in:
Dennis Luxen
2024-05-10 20:21:41 +02:00
committed by GitHub
parent 3254686933
commit dff76d31d5
3 changed files with 1 additions and 16 deletions
-12
View File
@@ -14,18 +14,6 @@
#include <memory>
#include <vector>
// workaround for incomplete std::shared_ptr compatibility in old boost versions
#if BOOST_VERSION < 105300 || defined BOOST_NO_CXX11_SMART_PTR
namespace boost
{
template <class T> const T *get_pointer(std::shared_ptr<T> const &p) { return p.get(); }
template <class T> T *get_pointer(std::shared_ptr<T> &p) { return p.get(); }
} // namespace boost
#endif
namespace osrm::server
{