summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-10-10 14:34:20 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2019-10-10 16:52:00 -0600
commitaf82a06517db99d8c611edba20cb19900d0690a7 (patch)
tree92b89748a4500070ebe9269e32025a6ed46ab90c /libs/ardour/session_state.cc
parent7f4e9fe211c1ec837b8159eeaa691b593784ab6c (diff)
make BusProfile argument to new Session constructor be const (and in associated call tree)
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index c9c61ba9d5..ebb3dd4292 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -573,7 +573,7 @@ Session::ensure_subdirs ()
* Caller must not hold process lock.
*/
int
-Session::create (const string& session_template, BusProfile* bus_profile)
+Session::create (const string& session_template, BusProfile const * bus_profile)
{
if (g_mkdir_with_parents (_path.c_str(), 0755) < 0) {
error << string_compose(_("Session: cannot create session folder \"%1\" (%2)"), _path, strerror (errno)) << endmsg;