summaryrefslogtreecommitdiffstats
path: root/include/gtest/internal/gtest-tuple.h.pump
diff options
context:
space:
mode:
authorvladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2011-11-04 17:56:23 (GMT)
committervladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2011-11-04 17:56:23 (GMT)
commit8965a6a0d2165f32e6413594bba6367f271f51e7 (patch)
treeab0e0f5e0fd23697673ec2e0edca67079375dd2c /include/gtest/internal/gtest-tuple.h.pump
parent829402edcffe712ed4c79412ca020525cd8295ad (diff)
downloadgoogletest-8965a6a0d2165f32e6413594bba6367f271f51e7.zip
googletest-8965a6a0d2165f32e6413594bba6367f271f51e7.tar.gz
googletest-8965a6a0d2165f32e6413594bba6367f271f51e7.tar.bz2
Improves conformance to the Google C++ Style Guide (by Greg Miller).
Diffstat (limited to 'include/gtest/internal/gtest-tuple.h.pump')
-rw-r--r--include/gtest/internal/gtest-tuple.h.pump9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/gtest/internal/gtest-tuple.h.pump b/include/gtest/internal/gtest-tuple.h.pump
index ef51909..238e8fc 100644
--- a/include/gtest/internal/gtest-tuple.h.pump
+++ b/include/gtest/internal/gtest-tuple.h.pump
@@ -118,8 +118,9 @@ struct TupleElement;
$for i [[
template <GTEST_$(n)_TYPENAMES_(T)>
-struct TupleElement<true, $i, GTEST_$(n)_TUPLE_(T)> [[]]
-{ typedef T$i type; };
+struct TupleElement<true, $i, GTEST_$(n)_TUPLE_(T)> {
+ typedef T$i type;
+};
]]
@@ -220,7 +221,9 @@ template <typename Tuple> struct tuple_size;
$for j [[
template <GTEST_$(j)_TYPENAMES_(T)>
-struct tuple_size<GTEST_$(j)_TUPLE_(T)> { static const int value = $j; };
+struct tuple_size<GTEST_$(j)_TUPLE_(T)> {
+ static const int value = $j;
+};
]]