From a8c7cbaa7e05f00b3715329a9aa75352af7e5683 Mon Sep 17 00:00:00 2001 From: Redcrafter Date: Sun, 15 Sep 2024 02:33:45 +0200 Subject: [PATCH] fixed clang build --- src/windows/tile_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/tile_list.cpp b/src/windows/tile_list.cpp index 5b3696c..6e4e238 100644 --- a/src/windows/tile_list.cpp +++ b/src/windows/tile_list.cpp @@ -251,7 +251,7 @@ void TileList::draw(const GameData& game_data, MapTile& mode1_placing) { } if(ImGui::Button("+")) { - groups.emplace_back("group " + std::to_string(groups.size() + 1)); + groups.push_back(TileGroup {"group " + std::to_string(groups.size() + 1)}); } if(drag_end) {