From 32d90f8b0d4b002e77edc0b295e3576935dc931f Mon Sep 17 00:00:00 2001 From: Wan-Teh Chang Date: Wed, 25 Oct 2023 08:44:49 -0700 Subject: [PATCH] Make the Environment class's data members private --- tests/gtest/avif_fuzztest_helpers.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/gtest/avif_fuzztest_helpers.cc b/tests/gtest/avif_fuzztest_helpers.cc index 876008ba76..7d7c38cdc5 100644 --- a/tests/gtest/avif_fuzztest_helpers.cc +++ b/tests/gtest/avif_fuzztest_helpers.cc @@ -203,6 +203,8 @@ class Environment : public ::testing::Environment { Environment(const char* name, const char* value) : name_(name), value_(value) {} void SetUp() override { setenv(name_, value_, 1); } + + private: const char* name_; const char* value_; };