diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-08-16 19:10:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-16 19:10:07 (GMT) |
commit | b1bfdf0bf48bb2288ba73bc8f423de2831e0032f (patch) | |
tree | d33d05629648a93c9eebeab26abe6e44d82f8b05 /googletest/include/gtest/internal/gtest-port.h | |
parent | 8c86040dd67276750df67db6d5791fd32cc479a6 (diff) | |
download | googletest-b1bfdf0bf48bb2288ba73bc8f423de2831e0032f.zip googletest-b1bfdf0bf48bb2288ba73bc8f423de2831e0032f.tar.gz googletest-b1bfdf0bf48bb2288ba73bc8f423de2831e0032f.tar.bz2 |
Small formatting change
And then we can merge
Diffstat (limited to 'googletest/include/gtest/internal/gtest-port.h')
-rw-r--r-- | googletest/include/gtest/internal/gtest-port.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h index 1d5b24b..786497d 100644 --- a/googletest/include/gtest/internal/gtest-port.h +++ b/googletest/include/gtest/internal/gtest-port.h @@ -2107,8 +2107,8 @@ class MutexBase { // particular, the owner_ field (a pthread_t) is not explicitly initialized. // This allows initialization to work whether pthread_t is a scalar or struct. // The flag -Wmissing-field-initializers must not be specified for this to work. -# define GTEST_DEFINE_STATIC_MUTEX_(mutex) \ - ::testing::internal::MutexBase mutex = { PTHREAD_MUTEX_INITIALIZER, false, 0 } +#define GTEST_DEFINE_STATIC_MUTEX_(mutex) \ + ::testing::internal::MutexBase mutex = {PTHREAD_MUTEX_INITIALIZER, false, 0} // The Mutex class can only be used for mutexes created at runtime. It // shares its API with MutexBase otherwise. |