diff options
author | Gennadiy Civil <misterg@google.com> | 2019-10-22 13:38:21 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2019-10-22 13:38:21 (GMT) |
commit | de1128355464aea0427dbc15053fbfe0269683a4 (patch) | |
tree | 001b97bd22e9e950e209a004373420522098ffb7 /googletest/include/gtest/internal | |
parent | 611a321a6e641846497f75375f9cbe7825ff3f23 (diff) | |
parent | e0d16aa33662857a5b3f47359f46910d4d18ab5b (diff) | |
download | googletest-de1128355464aea0427dbc15053fbfe0269683a4.zip googletest-de1128355464aea0427dbc15053fbfe0269683a4.tar.gz googletest-de1128355464aea0427dbc15053fbfe0269683a4.tar.bz2 |
Merge pull request #2444 from kuzkry:remove-GTEST_ARRAY_SIZE_
PiperOrigin-RevId: 275842505
Diffstat (limited to 'googletest/include/gtest/internal')
-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 dc67902..3ad7119 100644 --- a/googletest/include/gtest/internal/gtest-port.h +++ b/googletest/include/gtest/internal/gtest-port.h @@ -844,9 +844,6 @@ class Secret; // expression is false, compiler will issue an error containing this identifier. #define GTEST_COMPILE_ASSERT_(expr, msg) static_assert(expr, #msg) -// Evaluates to the number of elements in 'array'. -#define GTEST_ARRAY_SIZE_(array) (sizeof(array) / sizeof(array[0])) - // A helper for suppressing warnings on constant condition. It just // returns 'condition'. GTEST_API_ bool IsTrue(bool condition); |