diff options
author | Benjamin Kircher <benjamin.kircher@gmail.com> | 2017-09-16 11:51:36 +0200 |
---|---|---|
committer | Benjamin Kircher <benjamin.kircher@gmail.com> | 2017-09-16 11:51:36 +0200 |
commit | d4af64ca13173c76f6da1aa32dcda7dd3abeb522 (patch) | |
tree | 2835c2b1cd44741fa3fe1dc50a5450e2c95119dd | |
parent | deace2546ef4ff8f3e6349ec4f26d414753818c3 (diff) | |
download | googletest-d4af64ca13173c76f6da1aa32dcda7dd3abeb522.tar.gz googletest-d4af64ca13173c76f6da1aa32dcda7dd3abeb522.tar.bz2 googletest-d4af64ca13173c76f6da1aa32dcda7dd3abeb522.zip |
Remove redundant declaration
TempDir() function is declared twice, once in `internal/gtest-port.h`
and a second time in `gtest.h`.
Fixes a warning with GCC when -Wredundant-decls is given.
-rw-r--r-- | googletest/include/gtest/internal/gtest-port.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h index 643beff9..12bdb4c3 100644 --- a/googletest/include/gtest/internal/gtest-port.h +++ b/googletest/include/gtest/internal/gtest-port.h @@ -2591,10 +2591,6 @@ std::string StringFromGTestEnv(const char* flag, const char* default_val); } // namespace internal -// Returns a path to temporary directory. -// Tries to determine an appropriate directory for the platform. -GTEST_API_ std::string TempDir(); - } // namespace testing #endif // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_ |