1
0
mirror of synced 2025-01-29 19:17:28 +01:00

Fixed multiple definitions of _lang user defined literal

This commit is contained in:
WerWolv 2021-02-10 23:38:51 +01:00
parent bd5da4a36e
commit 4a8e59a95b
2 changed files with 1 additions and 2 deletions

View File

@ -25,7 +25,7 @@ namespace hex {
namespace lang_literals {
LangEntry operator""_lang(const char *string, size_t) {
inline LangEntry operator""_lang(const char *string, size_t) {
return LangEntry(string);
}

View File

@ -200,7 +200,6 @@ namespace hex {
}
void Window::frameBegin() {
printf("%s\n", static_cast<const char*>("hello.world"_lang));
glfwPollEvents();
ImGui_ImplOpenGL3_NewFrame();