summaryrefslogtreecommitdiffhomepage
path: root/main
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-17 10:24:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-17 10:24:37 +0200
commit3b2e2ed05b593f2fdd8ec7153bddb6cd8dd1e246 (patch)
tree9ed08a91d0462154ff39ad759c648fb640fac07a /main
parent8bf700d1b2a5cbb7cfd99ca8a0492b2a5bfd2f3a (diff)
a
Diffstat (limited to 'main')
-rw-r--r--main/editor.hpp2
-rw-r--r--main/gui.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/main/editor.hpp b/main/editor.hpp
index db4da59e..aac474c0 100644
--- a/main/editor.hpp
+++ b/main/editor.hpp
@@ -1,10 +1,12 @@
#pragma once
#include "compat/defs.hpp"
#include "tile-atlas.hpp"
+#include <cstdint>
#include <map>
#include <memory>
#include <tuple>
#include <optional>
+#include <vector>
#include <Corrade/Containers/StringView.h>
namespace floormat {
diff --git a/main/gui.cpp b/main/gui.cpp
index d5a8f149..65c63643 100644
--- a/main/gui.cpp
+++ b/main/gui.cpp
@@ -83,7 +83,7 @@ void app::draw_menu_(tile_type& type, float main_menu_height)
{
for (const auto& [k, v] : type)
{
- const auto& k_ = k;
+ ///const auto& k_ = k;
const auto& v_ = v;
const auto click_event = [&] {
if (ImGui::IsItemClicked(ImGuiMouseButton_Right))