#include <sstream>
#include "ardour/session.h"
+#include "ardour/tempo.h"
#include "pbd/failed_constructor.h"
-#include "pbd/compose.h"
-#include "pbd/error.h"
#include "i18n.h"
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 sure you want to do this?"));
+ return replace.get_value_or (false);
}
void