Index: testing/gtest-support.h |
diff --git a/testing/gtest-support.h b/testing/gtest-support.h |
index 159858eb6218d221696b7af3453684270202f4e7..66b1094ff4d1869e4cee2b93d69cac9a07f1e7cb 100644 |
--- a/testing/gtest-support.h |
+++ b/testing/gtest-support.h |
@@ -36,7 +36,7 @@ GET_TYPE_NAME(double) |
#define TRACED_FOREACH(_type, _var, _array) \ |
for (size_t _i = 0; _i < arraysize(_array); ++_i) \ |
for (bool _done = false; !_done;) \ |
- for (const _type _var = _array[_i]; !_done;) \ |
+ for (_type const _var = _array[_i]; !_done;) \ |
for (SCOPED_TRACE(::testing::Message() << #_var << " = " << _var); \ |
!_done; _done = true) |
@@ -48,7 +48,7 @@ GET_TYPE_NAME(double) |
#define TRACED_FORRANGE(_type, _var, _low, _high) \ |
for (_type _i = _low; _i <= _high; ++_i) \ |
for (bool _done = false; !_done;) \ |
- for (const _type _var = _i; !_done;) \ |
+ for (_type const _var = _i; !_done;) \ |
for (SCOPED_TRACE(::testing::Message() << #_var << " = " << _var); \ |
!_done; _done = true) |