Skip to content

Commit

Permalink
Merge #6338
Browse files Browse the repository at this point in the history
6338: Fixing HPX_CURRENT_SOURCE_LOCATION when std::source_location exists r=hkaiser a=hkaiser



Co-authored-by: Hartmut Kaiser <hartmut.kaiser@gmail.com>
  • Loading branch information
StellarBot and hkaiser committed Sep 2, 2023
2 parents 5457e19 + fd62fe7 commit 36869a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ namespace hpx::assertion {
}

#if defined(HPX_HAVE_CXX20_SOURCE_LOCATION)
#define HPX_CURRENT_SOURCE_LOCATION() ::hpx::source_location::current()
#define HPX_CURRENT_SOURCE_LOCATION() std::source_location::current()
#else
#define HPX_CURRENT_SOURCE_LOCATION() \
::hpx::source_location \
Expand Down

0 comments on commit 36869a4

Please sign in to comment.