Skip to content

Commit b93809a

Browse files
author
Ravbug
committed
fmt stragglers
1 parent 534016f commit b93809a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/add_install_dlg_derived.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ void AddNewInstallDlg::InstallSelected(wxCommandEvent&){
206206
// open the file
207207
wxCommandEvent lnevt(executeEvt);
208208
#ifdef __APPLE__
209-
lnevt.SetString(fmt::format("open \"{}\"", outpath));
209+
lnevt.SetString(std::format("open \"{}\"", outpath));
210210
#elif defined _WIN32
211211
lnevt.SetString(std::format("\"{}\"", outpath));
212212
#endif

source/create_dialog_derived.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ void CreateProjectDialogD::OnCreate(wxCommandEvent& event){
9898

9999
//create the command string
100100
#if defined __APPLE__
101-
string command = fmt::format("\"{}\" -createProject \"{}\" -cloneFromTemplate \"{}{}.{}\"",
101+
string command = std::format("\"{}\" -createProject \"{}\" -cloneFromTemplate \"{}{}.{}\"",
102102
executablePath.string(),
103103
outPath.string(),
104104
executableTemplatesPath.string(),
@@ -113,7 +113,7 @@ void CreateProjectDialogD::OnCreate(wxCommandEvent& event){
113113
fullProj.string(),
114114
fullTemplate.string());
115115
#elif defined __linux__
116-
string command = fmt::format("\"{}\" -createproject \"{}\" -cloneFromTemplate \"{}{}.{}\"",
116+
string command = std::format("\"{}\" -createproject \"{}\" -cloneFromTemplate \"{}{}.{}\"",
117117
executablePath.string(),
118118
(filesystem::path(projPath) / projName).string(),
119119
executableTemplatesPath.string(),

0 commit comments

Comments
 (0)