From 90fd22225fab689aba3303c7e81ae854c805a7df Mon Sep 17 00:00:00 2001 From: Guillaume Jacquemin Date: Wed, 29 Nov 2023 13:00:05 +0100 Subject: [PATCH] ProfileManager: adapt to Corrade changes. --- src/ProfileManager/ProfileManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ProfileManager/ProfileManager.cpp b/src/ProfileManager/ProfileManager.cpp index a42d893..5037234 100644 --- a/src/ProfileManager/ProfileManager.cpp +++ b/src/ProfileManager/ProfileManager.cpp @@ -142,7 +142,7 @@ ProfileManager::backupProfile(std::size_t index, bool backup_builds) { auto& profile = _profiles[index]; auto filename = Utility::format("{}_{}{:.2d}{:.2d}_{:.2d}{:.2d}{:.2d}.backup.mbst", - Utility::String::replaceAll(profile.companyName().data(), " ", "_").c_str(), + Utility::String::replaceAll(profile.companyName().data(), " ", "_").data(), time->tm_year + 1900, time->tm_mon + 1, time->tm_mday, time->tm_hour, time->tm_min, time->tm_sec);