Skip to content

Commit

Permalink
boost: [skip ci] prepare fix for boost < 1.68
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jun 15, 2020
1 parent 1c7c3b3 commit 02a4ba3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/boost_bind_bind.hpp
@@ -0,0 +1,21 @@

// Workaround for boost older than 1.60
#ifndef BOOST_BIND_BIND_HPP_INCLUDED
#include <boost/bind/bind.hpp>
#endif

#include <boost/version.hpp>
#if (BOOST_VERSION < 106000)
namespace boost { namespace placeholders {
using ::_1;
using ::_2;
using ::_3;
using ::_4;
using ::_5;
using ::_6;
using ::_7;
using ::_8;
using ::_9;
}};
#endif

0 comments on commit 02a4ba3

Please sign in to comment.