summaryrefslogtreecommitdiff
path: root/libs/ardour/tempo_map_importer.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-11-21 17:48:56 +0100
committerRobin Gareus <robin@gareus.org>2019-11-21 17:48:56 +0100
commitd4ecfc7d8577e278bd4db3564fc418a780c5af79 (patch)
treeb9ae5f3737ba3826f991134ede16f7b2b76977e0 /libs/ardour/tempo_map_importer.cc
parent216492c60c30860d973de132462cb05bab755b34 (diff)
Use new boost::optional API
get_value_or() has been deprecated since boost 1.56
Diffstat (limited to 'libs/ardour/tempo_map_importer.cc')
-rw-r--r--libs/ardour/tempo_map_importer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/tempo_map_importer.cc b/libs/ardour/tempo_map_importer.cc
index cdb128df0e..cbb0662aaa 100644
--- a/libs/ardour/tempo_map_importer.cc
+++ b/libs/ardour/tempo_map_importer.cc
@@ -87,7 +87,7 @@ TempoMapImporter::_prepare_move ()
{
// Prompt user for verification
boost::optional<bool> replace = Prompt (_("This will replace the current tempo map!\nAre you sure you want to do this?"));
- return replace.get_value_or (false);
+ return replace.value_or (false);
}
void