diff options
| author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2011-03-05 08:04:01 +0000 |
|---|---|---|
| committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2011-03-05 08:04:01 +0000 |
| commit | 603533a0a4dcfc2ef33051b9ae8237568a19adc4 (patch) | |
| tree | 38e1e22186034693ba63f609100fcd1d4cd6e368 /include/gtest/internal/gtest-string.h | |
| parent | 66ac4909aea5c4dc9c43e6f11518c34049c6bd5e (diff) | |
| download | googletest-603533a0a4dcfc2ef33051b9ae8237568a19adc4.tar.gz googletest-603533a0a4dcfc2ef33051b9ae8237568a19adc4.tar.bz2 googletest-603533a0a4dcfc2ef33051b9ae8237568a19adc4.zip | |
Fixes compatibility with Borland C++Builder. Original patch by Josh
Kelley. Simplified by Zhanyong Wan.
Diffstat (limited to 'include/gtest/internal/gtest-string.h')
| -rw-r--r-- | include/gtest/internal/gtest-string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gtest/internal/gtest-string.h b/include/gtest/internal/gtest-string.h index efde52a9..dc3a07be 100644 --- a/include/gtest/internal/gtest-string.h +++ b/include/gtest/internal/gtest-string.h @@ -296,7 +296,7 @@ class GTEST_API_ String { private: // Constructs a non-NULL String from the given content. This - // function can only be called when data_ has not been allocated. + // function can only be called when c_str_ has not been allocated. // ConstructNonNull(NULL, 0) results in an empty string (""). // ConstructNonNull(NULL, non_zero) is undefined behavior. void ConstructNonNull(const char* buffer, size_t a_length) { |
