diff options
author | Robin Gareus <robin@gareus.org> | 2019-11-21 17:48:56 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-11-21 17:48:56 +0100 |
commit | d4ecfc7d8577e278bd4db3564fc418a780c5af79 (patch) | |
tree | b9ae5f3737ba3826f991134ede16f7b2b76977e0 /libs/ardour/route.cc | |
parent | 216492c60c30860d973de132462cb05bab755b34 (diff) |
Use new boost::optional API
get_value_or() has been deprecated since boost 1.56
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 018035d4d3..b48b18b305 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -1076,7 +1076,7 @@ Route::add_processors (const ProcessorList& others, boost::shared_ptr<Processor> if (flags != None) { boost::optional<int> rv = PluginSetup (boost::dynamic_pointer_cast<Route>(shared_from_this ()), pi, flags); /* EMIT SIGNAL */ - int mode = rv.get_value_or (0); + int mode = rv.value_or (0); switch (mode & 3) { case 1: to_skip.push_back (*i); // don't add this one; |