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/tempo_map_importer.cc | |
parent | 216492c60c30860d973de132462cb05bab755b34 (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.cc | 2 |
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 |