File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1616
1717module (
1818 name = "abseil-cpp" ,
19- version = "20250512.0 " ,
19+ version = "20250512.1 " ,
2020 compatibility_level = 1 ,
2121)
2222
Original file line number Diff line number Diff line change 118118// LTS releases can be obtained from
119119// https://github.com/abseil/abseil-cpp/releases.
120120#define ABSL_LTS_RELEASE_VERSION 20250512
121- #define ABSL_LTS_RELEASE_PATCH_LEVEL 0
121+ #define ABSL_LTS_RELEASE_PATCH_LEVEL 1
122122
123123// Helper macro to convert a CPP variable to a string literal.
124124#define ABSL_INTERNAL_DO_TOKEN_STR (x ) #x
Original file line number Diff line number Diff line change 3939
4040// For feature testing and determining which headers can be included.
4141#if ABSL_INTERNAL_CPLUSPLUS_LANG >= 202002L || \
42- ABSL_INTERNAL_VERSION_HEADER_AVAILABLE
42+ defined ( ABSL_INTERNAL_VERSION_HEADER_AVAILABLE)
4343#include < version>
4444#else
4545#include < ciso646>
Original file line number Diff line number Diff line change @@ -1869,8 +1869,9 @@ ABSL_ATTRIBUTE_CONST_FUNCTION constexpr int64_t ToInt64Nanoseconds(Duration d) {
18691869 time_internal::GetRepHi (d) >> 33 == 0 ) {
18701870 return (time_internal::GetRepHi (d) * 1000 * 1000 * 1000 ) +
18711871 (time_internal::GetRepLo (d) / time_internal::kTicksPerNanosecond );
1872+ } else {
1873+ return d / Nanoseconds (1 );
18721874 }
1873- return d / Nanoseconds (1 );
18741875}
18751876
18761877ABSL_ATTRIBUTE_CONST_FUNCTION constexpr int64_t ToInt64Microseconds (
@@ -1880,8 +1881,9 @@ ABSL_ATTRIBUTE_CONST_FUNCTION constexpr int64_t ToInt64Microseconds(
18801881 return (time_internal::GetRepHi (d) * 1000 * 1000 ) +
18811882 (time_internal::GetRepLo (d) /
18821883 (time_internal::kTicksPerNanosecond * 1000 ));
1884+ } else {
1885+ return d / Microseconds (1 );
18831886 }
1884- return d / Microseconds (1 );
18851887}
18861888
18871889ABSL_ATTRIBUTE_CONST_FUNCTION constexpr int64_t ToInt64Milliseconds (
@@ -1891,8 +1893,9 @@ ABSL_ATTRIBUTE_CONST_FUNCTION constexpr int64_t ToInt64Milliseconds(
18911893 return (time_internal::GetRepHi (d) * 1000 ) +
18921894 (time_internal::GetRepLo (d) /
18931895 (time_internal::kTicksPerNanosecond * 1000 * 1000 ));
1896+ } else {
1897+ return d / Milliseconds (1 );
18941898 }
1895- return d / Milliseconds (1 );
18961899}
18971900
18981901ABSL_ATTRIBUTE_CONST_FUNCTION constexpr int64_t ToInt64Seconds (Duration d) {
You can’t perform that action at this time.
0 commit comments