Skip to content

Commit

Permalink
Fix compilation with Xcode 15.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoyne committed Jun 12, 2024
1 parent ea0b97c commit 9f3e7d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/realm/util/time.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ inline std::string format_utc_time(std::time_t time, const char* format)

} // namespace realm::util

#if __cplusplus < 202002L
#if __cplusplus < 202002L || (defined(__apple_build_version__) && __apple_build_version__ < 15000309)
// This is a C++17 version of https://en.cppreference.com/w/cpp/chrono/duration/operator_ltlt to make
// logging and comparing durations easier - especially in tests.
//
Expand Down

0 comments on commit 9f3e7d3

Please sign in to comment.