diff --git a/src/app/gui/input.h b/src/app/gui/input.h index 8e94c4f8..4532b953 100644 --- a/src/app/gui/input.h +++ b/src/app/gui/input.h @@ -88,7 +88,7 @@ void DrawMenu(Menu ¶ms); static Menu kMainMenu; -constexpr std::string kSeparator = "-"; +const std::string kSeparator = "-"; IMGUI_API bool OpenUrl(const std::string &url); diff --git a/src/util/bps.cc b/src/util/bps.cc index 01b7faf2..f114d95c 100644 --- a/src/util/bps.cc +++ b/src/util/bps.cc @@ -5,6 +5,7 @@ #include #include +#include namespace yaze { namespace util { diff --git a/src/util/macro.h b/src/util/macro.h index f2b1a808..2f2a0289 100644 --- a/src/util/macro.h +++ b/src/util/macro.h @@ -1,6 +1,8 @@ #ifndef YAZE_UTIL_MACRO_H #define YAZE_UTIL_MACRO_H +using uint = unsigned int; + #define TAB_ITEM(w) if (ImGui::BeginTabItem(w)) { #define END_TAB_ITEM() \ ImGui::EndTabItem(); \