diff --git a/CMakeLists.txt b/CMakeLists.txt index a7f1d74..26efb7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ set(CMAKE_CXX_EXTENSIONS OFF) # Set the project name and language project( anywho - VERSION 0.1.6 + VERSION 0.1.7 DESCRIPTION "" HOMEPAGE_URL "https://github.com/johannes-graeter/anywho" LANGUAGES CXX C) diff --git a/include/context.hpp b/include/context.hpp index f386895..4d6e149 100644 --- a/include/context.hpp +++ b/include/context.hpp @@ -52,7 +52,7 @@ class Context final Context(ContextString &&msg, std::source_location location = std::source_location::current()) : message_{ std::move(msg) }, line_{ location.line() }, file_{ location.file_name() } {} -#elif +#else Context(ContextString &&msg) : message_{ std::move(msg) }, line_{ 0 }, file_{ "" } {} #endif