mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 08:10:05 +00:00
GCC doesn't implement <format> yet, use fmt
This commit is contained in:
parent
593010acc2
commit
31db9a4315
12 changed files with 27 additions and 28 deletions
|
|
@ -18,6 +18,7 @@
|
|||
#include <backends/imgui_impl_opengl3.h>
|
||||
#include <backends/imgui_impl_qt.hpp>
|
||||
#include <boost/uuid/random_generator.hpp>
|
||||
#include <fmt/format.h>
|
||||
#include <imgui.h>
|
||||
#include <QApplication>
|
||||
#include <QColor>
|
||||
|
|
@ -89,7 +90,7 @@ public:
|
|||
|
||||
// Create ImGui Context
|
||||
static size_t currentMapId_ {0u};
|
||||
imGuiContextName_ = std::format("Map {}", ++currentMapId_);
|
||||
imGuiContextName_ = fmt::format("Map {}", ++currentMapId_);
|
||||
imGuiContext_ =
|
||||
model::ImGuiContextModel::Instance().CreateContext(imGuiContextName_);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue