Skip to content

Commit

Permalink
Make the Environment class's data members private
Browse files Browse the repository at this point in the history
  • Loading branch information
wantehchang committed Oct 25, 2023
1 parent 3ee6987 commit 1a4b536
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/gtest/avif_fuzztest_helpers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
};
Expand Down

0 comments on commit 1a4b536

Please sign in to comment.