summaryrefslogtreecommitdiffstats
path: root/googletest/src
diff options
context:
space:
mode:
authordmauro <dmauro@google.com>2021-10-25 17:40:39 (GMT)
committerCJ Johnson <johnsoncj@google.com>2021-11-03 17:45:40 (GMT)
commit489ef888d942ecd40063b0e074b2901a2c1754bb (patch)
treeb9942c8fba7363ef1050132bb00b98e95736c94c /googletest/src
parentf503588aeee4629e5673f2d88ddec01c9ed4bd6b (diff)
downloadgoogletest-489ef888d942ecd40063b0e074b2901a2c1754bb.zip
googletest-489ef888d942ecd40063b0e074b2901a2c1754bb.tar.gz
googletest-489ef888d942ecd40063b0e074b2901a2c1754bb.tar.bz2
Googletest export
Remove GoogleTest's SleepMilliseconds function. It is only used in tests and a portable implementation is available. PiperOrigin-RevId: 405437102
Diffstat (limited to 'googletest/src')
-rw-r--r--googletest/src/gtest-port.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/googletest/src/gtest-port.cc b/googletest/src/gtest-port.cc
index 6faa8b9..f63625b 100644
--- a/googletest/src/gtest-port.cc
+++ b/googletest/src/gtest-port.cc
@@ -280,10 +280,6 @@ size_t GetThreadCount() {
#if GTEST_IS_THREADSAFE && GTEST_OS_WINDOWS
-void SleepMilliseconds(int n) {
- ::Sleep(static_cast<DWORD>(n));
-}
-
AutoHandle::AutoHandle()
: handle_(INVALID_HANDLE_VALUE) {}