summaryrefslogtreecommitdiff
path: root/libs/ardour/session_configuration.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-12-12 15:02:15 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-12-12 15:02:15 +0000
commit8687895abba4209a6de8d8a8fc1bda5996f0d875 (patch)
treea2123e967e7c9906d787a5cec94ec53894d32734 /libs/ardour/session_configuration.cc
parent0c80b01f4724922a95d22fc441d6854da001c442 (diff)
remove using namespace sigc everywhere to ensure clarity over which bind/mem_fun is being used; make Config::map_parameters take a boost::function rather than a sigc::slot ; continue debugging crash caused by regionviews not tracking their Region's lifetime
git-svn-id: svn://localhost/ardour2/branches/3.0@6357 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_configuration.cc')
-rw-r--r--libs/ardour/session_configuration.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/session_configuration.cc b/libs/ardour/session_configuration.cc
index 0cdb85bfd0..899b85e770 100644
--- a/libs/ardour/session_configuration.cc
+++ b/libs/ardour/session_configuration.cc
@@ -112,12 +112,12 @@ SessionConfiguration::set_variables (const XMLNode& node)
}
void
-SessionConfiguration::map_parameters (sigc::slot<void, std::string> theSlot)
+SessionConfiguration::map_parameters (boost::function<void (std::string)>& functor)
{
#undef CONFIG_VARIABLE
#undef CONFIG_VARIABLE_SPECIAL
-#define CONFIG_VARIABLE(type,var,name,value) theSlot (name);
-#define CONFIG_VARIABLE_SPECIAL(type,var,name,value,mutator) theSlot (name);
+#define CONFIG_VARIABLE(type,var,name,value) functor (name);
+#define CONFIG_VARIABLE_SPECIAL(type,var,name,value,mutator) functor (name);
#include "ardour/session_configuration_vars.h"
#undef CONFIG_VARIABLE
#undef CONFIG_VARIABLE_SPECIAL