Skip to content

Commit

Permalink
removed function macro
Browse files Browse the repository at this point in the history
  • Loading branch information
lamarrr committed Jan 27, 2023
1 parent f7d4a43 commit 822cf2a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/stx/source_location.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ struct [[nodiscard]] SourceLocation {
#if STX_HAS_BUILTIN(FUNCTION) || (defined(__cpp_lib_source_location) && \
__cpp_lib_source_location >= 201907L)
char const* function = __builtin_FUNCTION(),
#elif defined(__FUNCTION__)
char const* function = __FUNCTION__,
#else
char const* function = "unknown",
#endif
Expand Down

0 comments on commit 822cf2a

Please sign in to comment.