diff options
author | Abseil Team <absl-team@google.com> | 2019-10-21 14:56:09 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2019-10-22 13:38:12 (GMT) |
commit | 611a321a6e641846497f75375f9cbe7825ff3f23 (patch) | |
tree | 19772533815c9132759f5b527d023eb30b997246 /googletest/include/gtest/internal/gtest-port.h | |
parent | a5216dd1a9f392ad1084a4944f87ff48c82ee3d2 (diff) | |
download | googletest-611a321a6e641846497f75375f9cbe7825ff3f23.zip googletest-611a321a6e641846497f75375f9cbe7825ff3f23.tar.gz googletest-611a321a6e641846497f75375f9cbe7825ff3f23.tar.bz2 |
Googletest export
Remove bool_constant in favor of std::integral_constant<bool, ...>;
The one non-trivial use of bool_constant has been changed to have significantly
fewer template specializations.
PiperOrigin-RevId: 275842490
Diffstat (limited to 'googletest/include/gtest/internal/gtest-port.h')
-rw-r--r-- | googletest/include/gtest/internal/gtest-port.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h index c4b1aab..dc67902 100644 --- a/googletest/include/gtest/internal/gtest-port.h +++ b/googletest/include/gtest/internal/gtest-port.h @@ -1875,9 +1875,6 @@ class GTEST_API_ ThreadLocal { // we cannot detect it. GTEST_API_ size_t GetThreadCount(); -template <bool B> -using bool_constant = std::integral_constant<bool, B>; - #if GTEST_OS_WINDOWS # define GTEST_PATH_SEP_ "\\" # define GTEST_HAS_ALT_PATH_SEP_ 1 |