aboutsummaryrefslogtreecommitdiff
path: root/googletest/test/production.h
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2023-08-08 05:56:32 +0000
committerEnji Cooper <ngie@FreeBSD.org>2023-08-08 06:03:09 +0000
commit8ef491440fcaec96f899d73e08873426c78583a4 (patch)
tree842282f5843118e2e13ca96c08a6a915c7295684 /googletest/test/production.h
parent1774e46c372e2c1e16d4bc78f81359605e15b1b6 (diff)
Import GoogleTest v1.14.0vendor/google/googletest/1.14.0
Imported via the following general commands: ``` git rm -rf * git archive --format=tar v1.14.0 | tar -xvf - -C /path/to/git/vendor/clone git commit -A ``` Obtained from: https://github.com/google/googletest
Diffstat (limited to 'googletest/test/production.h')
-rw-r--r--googletest/test/production.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/googletest/test/production.h b/googletest/test/production.h
index 542723b70873..4dec8d46e247 100644
--- a/googletest/test/production.h
+++ b/googletest/test/production.h
@@ -30,8 +30,8 @@
//
// This is part of the unit test for gtest_prod.h.
-#ifndef GTEST_TEST_PRODUCTION_H_
-#define GTEST_TEST_PRODUCTION_H_
+#ifndef GOOGLETEST_TEST_PRODUCTION_H_
+#define GOOGLETEST_TEST_PRODUCTION_H_
#include "gtest/gtest_prod.h"
@@ -46,9 +46,10 @@ class PrivateCode {
PrivateCode();
int x() const { return x_; }
+
private:
void set_x(int an_x) { x_ = an_x; }
int x_;
};
-#endif // GTEST_TEST_PRODUCTION_H_
+#endif // GOOGLETEST_TEST_PRODUCTION_H_