Skip to content

Commit 50c5403

Browse files
authored
Fix the build. (#483)
1 parent 66c288c commit 50c5403

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/CalChartDoc.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include "platconf.h"
3535
#include "print_ps.h"
3636

37-
#include <format>
3837
#include <fstream>
3938
#include <iomanip>
4039
#include <wx/textfile.h>
@@ -220,9 +219,10 @@ T& CalChartDoc::LoadObjectGeneric(T& stream)
220219
return ContinuityEditorPopup::ProcessEditContinuity(GetDocumentWindow(), description, what, line, column).ToStdString();
221220
},
222221
[this, &modified](int majorVersion, int minorVersion) {
223-
auto message = std::format(
222+
wxString message;
223+
message.Printf(
224224
"Warning: Current version of CalChart is older than show file.\n"
225-
"Current Version {}.{}, show file: {}.{}.\n"
225+
"Current Version %d.%d, show file: %d.%d.\n"
226226
"Please consider upgrade to a newer version of CalChart by checking https://sourceforge.net/projects/calchart.\n"
227227
"Continue trying to open this file?",
228228
CC_MAJOR_VERSION,

0 commit comments

Comments
 (0)