diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-07-13 19:25:02 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-07-13 19:25:02 +0000 |
commit | a8a582fb926a678d1c4303384bd4dc872f746de8 (patch) | |
tree | 982a302a1017c97c3cf11da4341492509a08dc2f /include/gtest/gtest-test-part.h | |
parent | 449f84de9b0c48289e20f63c6d08a39bcee2021b (diff) | |
download | gtest-a8a582fb926a678d1c4303384bd4dc872f746de8.tar.gz gtest-a8a582fb926a678d1c4303384bd4dc872f746de8.tar.bz2 gtest-a8a582fb926a678d1c4303384bd4dc872f746de8.tar.xz |
Adds color support for TERM=linux (by Alexander Demin); renames List to Vector (by Zhanyong Wan); implements Vector::Erase (by Vlad Losev).
git-svn-id: http://googletest.googlecode.com/svn/trunk@281 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'include/gtest/gtest-test-part.h')
-rw-r--r-- | include/gtest/gtest-test-part.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/gtest/gtest-test-part.h b/include/gtest/gtest-test-part.h index 1a281af..d5b2713 100644 --- a/include/gtest/gtest-test-part.h +++ b/include/gtest/gtest-test-part.h @@ -136,9 +136,8 @@ class TestPartResultArray { // Returns the number of TestPartResult objects in the array. int size() const; private: - // Internally we use a list to simulate the array. Yes, this means - // that random access is O(N) in time, but it's OK for its purpose. - internal::List<TestPartResult>* const list_; + // Internally we use a Vector to implement the array. + internal::Vector<TestPartResult>* const array_; GTEST_DISALLOW_COPY_AND_ASSIGN_(TestPartResultArray); }; |