diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-25 12:58:19 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-25 12:58:19 +0000 |
commit | ec1ef5d6b574258d6451aa60749c4241f3c42f5f (patch) | |
tree | 4353c428d8aa5b3081226ec3556546b1d336112f /libs/surfaces/osc/osc_route_observer.cc | |
parent | eac10ca71c03fe5144fc445a2ca273568521153e (diff) |
remove the apparently unnecessary "ui_bind()" macro from entire source base
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/osc/osc_route_observer.cc')
-rw-r--r-- | libs/surfaces/osc/osc_route_observer.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/surfaces/osc/osc_route_observer.cc b/libs/surfaces/osc/osc_route_observer.cc index bfef2fb67f..576b92d1bb 100644 --- a/libs/surfaces/osc/osc_route_observer.cc +++ b/libs/surfaces/osc/osc_route_observer.cc @@ -28,21 +28,18 @@ #include "i18n.h" -#define ui_bind(f, ...) boost::protect (boost::bind (f, __VA_ARGS__)) - using namespace std; using namespace sigc; using namespace PBD; using namespace ARDOUR; using namespace boost; - OSCRouteObserver::OSCRouteObserver (boost::shared_ptr<Route> r, lo_address a) : _route (r) { addr = lo_address_new (lo_address_get_hostname(a) , lo_address_get_port(a)); - _route->PropertyChanged.connect (name_changed_connection, MISSING_INVALIDATOR, ui_bind (&OSCRouteObserver::name_changed, this, boost::lambda::_1), OSC::instance()); + _route->PropertyChanged.connect (name_changed_connection, MISSING_INVALIDATOR, boost::bind (&OSCRouteObserver::name_changed, this, boost::lambda::_1), OSC::instance()); if (dynamic_pointer_cast<AudioTrack>(_route) || dynamic_pointer_cast<MidiTrack>(_route)) { |