Skip to content

Commit

Permalink
Avoid AbslHashValue for std::filesystem::path when <filesystem> is no…
Browse files Browse the repository at this point in the history
…t included

PiperOrigin-RevId: 584675181
Change-Id: I78c9a29055327c84f1e78b8440221439839a041c
  • Loading branch information
Abseil Team authored and copybara-github committed Nov 22, 2023
1 parent db5c799 commit 2fca641
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions absl/hash/internal/hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ H AbslHashValue(H hash_state, std::basic_string_view<Char> str) {
#endif // ABSL_HAVE_STD_STRING_VIEW

#if defined(__cpp_lib_filesystem) && __cpp_lib_filesystem >= 201703L && \
!defined(_LIBCPP_HAS_NO_FILESYSTEM_LIBRARY) && \
(!defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) || \
__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 130000)

Expand Down

0 comments on commit 2fca641

Please sign in to comment.