aboutsummaryrefslogtreecommitdiffstats
path: root/googletest/scripts/gen_gtest_pred_impl.py
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/scripts/gen_gtest_pred_impl.py')
-rwxr-xr-xgoogletest/scripts/gen_gtest_pred_impl.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/googletest/scripts/gen_gtest_pred_impl.py b/googletest/scripts/gen_gtest_pred_impl.py
index e76fcb0b..e09a6e01 100755
--- a/googletest/scripts/gen_gtest_pred_impl.py
+++ b/googletest/scripts/gen_gtest_pred_impl.py
@@ -439,9 +439,8 @@ bool PredFunction%(n)s(%(tvs)s) {
return %(v_sum)s > 0;
}
-// The following two functions are needed to circumvent a bug in
-// gcc 2.95.3, which sometimes has problem with the above template
-// function.
+// The following two functions are needed because a compiler doesn't have
+// a context yet to know which template function must be instantiated.
bool PredFunction%(n)sInt(%(int_vs)s) {
return %(v_sum)s > 0;
}