aboutsummaryrefslogtreecommitdiffstats
path: root/include/gtest/internal/gtest-port.h
diff options
context:
space:
mode:
authorvladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2011-11-04 17:56:23 +0000
committervladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2011-11-04 17:56:23 +0000
commit8965a6a0d2165f32e6413594bba6367f271f51e7 (patch)
treeab0e0f5e0fd23697673ec2e0edca67079375dd2c /include/gtest/internal/gtest-port.h
parent829402edcffe712ed4c79412ca020525cd8295ad (diff)
downloadgoogletest-8965a6a0d2165f32e6413594bba6367f271f51e7.tar.gz
googletest-8965a6a0d2165f32e6413594bba6367f271f51e7.tar.bz2
googletest-8965a6a0d2165f32e6413594bba6367f271f51e7.zip
Improves conformance to the Google C++ Style Guide (by Greg Miller).
Diffstat (limited to 'include/gtest/internal/gtest-port.h')
-rw-r--r--include/gtest/internal/gtest-port.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gtest/internal/gtest-port.h b/include/gtest/internal/gtest-port.h
index 04938929..3c8463bc 100644
--- a/include/gtest/internal/gtest-port.h
+++ b/include/gtest/internal/gtest-port.h
@@ -812,6 +812,7 @@ class scoped_ptr {
ptr_ = p;
}
}
+
private:
T* ptr_;
@@ -1110,7 +1111,7 @@ class Notification {
// Blocks until the controller thread notifies. Must be called from a test
// thread.
void WaitForNotification() {
- while(!notified_) {
+ while (!notified_) {
SleepMilliseconds(10);
}
}
@@ -1754,7 +1755,6 @@ class TypeWithSize<4> {
template <>
class TypeWithSize<8> {
public:
-
#if GTEST_OS_WINDOWS
typedef __int64 Int;
typedef unsigned __int64 UInt;