Skip to content

Commit

Permalink
Update setUp() examples (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
Enhex authored Dec 26, 2024
1 parent 0a0eceb commit 27cc3eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ public:
[...]

// Reset the page fault counter.
virtual void setUp(const celero::TestFixture::ExperimentValue& experimentValue) override
virtual void setUp(const celero::TestFixture::ExperimentValue* experimentValue) override
{
[...]
this->resetPageFaultCounter();
Expand Down Expand Up @@ -515,7 +515,7 @@ public:
}

/// Before each run, build a vector of random integers.
virtual void setUp(const celero::TestFixture::ExperimentValue& experimentValue)
virtual void setUp(const celero::TestFixture::ExperimentValue* experimentValue)
{
this->arraySize = experimentValue.Value;
this->array.reserve(this->arraySize);
Expand Down

0 comments on commit 27cc3eb

Please sign in to comment.