summaryrefslogtreecommitdiff
path: root/libs/ardour/tempo_map_importer.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-12-30 19:44:46 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-12-30 19:44:46 +0000
commitb194253b1eb850b37b430b90cc83224cf8b94ed1 (patch)
tree2550a73c10ffe86565709f3becceb28edd8b8e8b /libs/ardour/tempo_map_importer.cc
parentd9c9acaa80d1701b210eae82f5a365cb3e63c56a (diff)
correct usage of return value from Session::Prompt signal
git-svn-id: svn://localhost/ardour2/branches/3.0@6417 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/tempo_map_importer.cc')
-rw-r--r--libs/ardour/tempo_map_importer.cc4
1 files changed, 2 insertions, 2 deletions
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<bool> replace = Prompt (_("This will replace the current tempo map!\nAre you shure you want to do this?"));
+ return replace.get_value_or (false);
}
void