diff options
-rw-r--r-- | include/gtest/gtest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gtest/gtest.h b/include/gtest/gtest.h index 921fad11..d0277246 100644 --- a/include/gtest/gtest.h +++ b/include/gtest/gtest.h @@ -1969,7 +1969,7 @@ struct StaticAssertTypeEqHelper<T, T> {}; // to cause a compiler error. template <typename T1, typename T2> bool StaticAssertTypeEq() { - internal::StaticAssertTypeEqHelper<T1, T2>(); + (void)internal::StaticAssertTypeEqHelper<T1, T2>(); return true; } |