From b194253b1eb850b37b430b90cc83224cf8b94ed1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 30 Dec 2009 19:44:46 +0000 Subject: correct usage of return value from Session::Prompt signal git-svn-id: svn://localhost/ardour2/branches/3.0@6417 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/tempo_map_importer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/tempo_map_importer.cc') diff --git a/libs/ardour/tempo_map_importer.cc b/libs/ardour/tempo_map_importer.cc index 1f9f518614..b170aea8ea 100644 --- a/libs/ardour/tempo_map_importer.cc +++ b/libs/ardour/tempo_map_importer.cc @@ -87,8 +87,8 @@ bool TempoMapImporter::_prepare_move () { // Prompt user for verification - bool replace = Prompt (_("This will replace the current tempo map!\nAre you shure you want to do this?")); - return replace; + boost::optional replace = Prompt (_("This will replace the current tempo map!\nAre you shure you want to do this?")); + return replace.get_value_or (false); } void -- cgit v1.2.3