diff --git a/libs/evoral/ControlSet.cc b/libs/evoral/ControlSet.cc index 19f87a40fc..ca486cd00e 100644 --- a/libs/evoral/ControlSet.cc +++ b/libs/evoral/ControlSet.cc @@ -26,6 +26,7 @@ #include "evoral/Event.h" using namespace std; +using namespace std::placeholders; namespace Evoral { diff --git a/libs/pbd/receiver.cc b/libs/pbd/receiver.cc index 26d3a75295..180aa9bcf9 100644 --- a/libs/pbd/receiver.cc +++ b/libs/pbd/receiver.cc @@ -42,9 +42,8 @@ void Receiver::listen_to (Transmitter &transmitter) { - /* odd syntax here because boost's placeholders (_1, _2) are in an - anonymous namespace which causes ambiguity with sigc++ (and will also - do so with std::placeholder in the C++11 future + /* odd syntax here because std's placeholders (_1, _2) are in an + anonymous namespace which causes ambiguity with sigc++ */ transmitter.sender().connect_same_thread (connections, std::bind (&Receiver::receive, this, std::placeholders::_1, std::placeholders::_2));