mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
Add placeholer to TR1 wrapper
This commit is contained in:
@@ -19,14 +19,24 @@
|
|||||||
#ifndef TOMAHAWK_TR1_FUNCTIONAL
|
#ifndef TOMAHAWK_TR1_FUNCTIONAL
|
||||||
#define TOMAHAWK_TR1_FUNCTIONAL
|
#define TOMAHAWK_TR1_FUNCTIONAL
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
#if defined(_WEBSOCKETPP_CPP11_STL_) || defined(CXX_STD_FUNCTIONAL)
|
#if defined(_WEBSOCKETPP_CPP11_STL_) || defined(CXX_STD_FUNCTIONAL)
|
||||||
#include <functional>
|
#include <functional>
|
||||||
using std::function;
|
using std::function;
|
||||||
using std::bind;
|
using std::bind;
|
||||||
|
using std::placeholders::_1;
|
||||||
|
using std::placeholders::_2;
|
||||||
|
using std::placeholders::_3;
|
||||||
|
using std::placeholders::_4;
|
||||||
#else
|
#else
|
||||||
#include <tr1/functional>
|
#include <tr1/functional>
|
||||||
using std::tr1::function;
|
using std::tr1::function;
|
||||||
using std::tr1::bind;
|
using std::tr1::bind;
|
||||||
|
using std::tr1::placeholders::_1;
|
||||||
|
using std::tr1::placeholders::_2;
|
||||||
|
using std::tr1::placeholders::_3;
|
||||||
|
using std::tr1::placeholders::_4;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user