Skip to content

Commit

Permalink
Merge pull request #13 from johannes-graeter/f-debug-c++17
Browse files Browse the repository at this point in the history
debug new context interface for c++17
  • Loading branch information
johannes-graeter authored Jun 6, 2024
2 parents ff1ea1f + 9fb02d2 commit c6d143c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion include/context.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c6d143c

Please sign in to comment.