mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-28 06:49:32 -05:00
Remove fmt::format and replace with std::format
This commit is contained in:
@@ -77,11 +77,11 @@ namespace {
|
||||
* \return the absolute path to the file
|
||||
*/
|
||||
std::filesystem::path findHelperExecutable() {
|
||||
const std::filesystem::path execLocation = absPath(fmt::format(
|
||||
const std::filesystem::path execLocation = absPath(std::format(
|
||||
"${{BIN}}/{}", SubprocessPath
|
||||
));
|
||||
if (!std::filesystem::is_regular_file(execLocation)) {
|
||||
LERROR(fmt::format(
|
||||
LERROR(std::format(
|
||||
"Could not find web helper executable at location: {}", execLocation
|
||||
));
|
||||
}
|
||||
@@ -154,7 +154,7 @@ void WebBrowserModule::internalInitialize(const ghoul::Dictionary& dictionary) {
|
||||
_enabled = dictionary.value<bool>("Enabled");
|
||||
}
|
||||
|
||||
LDEBUG(fmt::format("CEF using web helper executable: {}", _webHelperLocation));
|
||||
LDEBUG(std::format("CEF using web helper executable: {}", _webHelperLocation));
|
||||
_cefHost = std::make_unique<CefHost>(_webHelperLocation.string());
|
||||
LDEBUG("Starting CEF... done");
|
||||
|
||||
@@ -205,7 +205,7 @@ void WebBrowserModule::removeBrowser(BrowserInstance* browser) {
|
||||
global::callback::webBrowserPerformanceHotfix = nullptr;
|
||||
}
|
||||
|
||||
LDEBUG(fmt::format("Number of browsers stored: {}", _browsers.size()));
|
||||
LDEBUG(std::format("Number of browsers stored: {}", _browsers.size()));
|
||||
}
|
||||
|
||||
void WebBrowserModule::attachEventHandler(BrowserInstance* browserInstance) {
|
||||
|
||||
Reference in New Issue
Block a user