aboutsummaryrefslogtreecommitdiffstats
path: root/include/gtest/internal/gtest-param-util-generated.h
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2011-04-12 18:24:59 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2011-04-12 18:24:59 +0000
commitfc99b1ad515ccfc92ee92001c409f69385033af5 (patch)
treec8732acb1a441408870c5e816a3afd01ae1f2e62 /include/gtest/internal/gtest-param-util-generated.h
parente9adbcbb56a205dee270842f7d6221c52d508476 (diff)
downloadgoogletest-fc99b1ad515ccfc92ee92001c409f69385033af5.tar.gz
googletest-fc99b1ad515ccfc92ee92001c409f69385033af5.tar.bz2
googletest-fc99b1ad515ccfc92ee92001c409f69385033af5.zip
Avoids iterator_traits, as it's not available in libCStd when compiled with Sun C++.
Diffstat (limited to 'include/gtest/internal/gtest-param-util-generated.h')
-rw-r--r--include/gtest/internal/gtest-param-util-generated.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/gtest/internal/gtest-param-util-generated.h b/include/gtest/internal/gtest-param-util-generated.h
index c6f0ce07..25826750 100644
--- a/include/gtest/internal/gtest-param-util-generated.h
+++ b/include/gtest/internal/gtest-param-util-generated.h
@@ -1,4 +1,6 @@
-// This file was GENERATED by a script. DO NOT EDIT BY HAND!!!
+// This file was GENERATED by command:
+// pump.py gtest-param-util-generated.h.pump
+// DO NOT EDIT BY HAND!!!
// Copyright 2008 Google Inc.
// All Rights Reserved.
@@ -58,8 +60,8 @@ namespace testing {
// include/gtest/gtest-param-test.h.
template <typename ForwardIterator>
internal::ParamGenerator<
- typename ::std::iterator_traits<ForwardIterator>::value_type> ValuesIn(
- ForwardIterator begin, ForwardIterator end);
+ typename ::testing::internal::IteratorTraits<ForwardIterator>::value_type>
+ValuesIn(ForwardIterator begin, ForwardIterator end);
template <typename T, size_t N>
internal::ParamGenerator<T> ValuesIn(const T (&array)[N]);