Skip to content

Commit 822cf2a

Browse files
committed
removed function macro
1 parent f7d4a43 commit 822cf2a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

include/stx/source_location.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ struct [[nodiscard]] SourceLocation {
4242
#if STX_HAS_BUILTIN(FUNCTION) || (defined(__cpp_lib_source_location) && \
4343
__cpp_lib_source_location >= 201907L)
4444
char const* function = __builtin_FUNCTION(),
45-
#elif defined(__FUNCTION__)
46-
char const* function = __FUNCTION__,
4745
#else
4846
char const* function = "unknown",
4947
#endif

0 commit comments

Comments
 (0)