Skip to content

Commit

Permalink
access -> Access
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Dec 9, 2021
1 parent 404e037 commit 84d65d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/NeverDestroyed_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Singleton {

static Singleton& getInstance() {
static ignition::utils::NeverDestroyed<Singleton> instance;
return instance.access();
return instance.Access();
}
private:
friend ignition::utils::NeverDestroyed<Singleton>;
Expand All @@ -73,7 +73,7 @@ Foo ParseFoo(const std::string& foo_string) {
{"baz", Foo::kBaz},
}
};
return string_to_enum.access().at(foo_string);
return string_to_enum.Access().at(foo_string);
}

GTEST_TEST(NeverDestroyedExample, ParseFoo) {
Expand All @@ -94,7 +94,7 @@ const std::vector<double>& GetConstantMagicNumbers() {
}
return prototype;
}()};
return result.access();
return result.Access();
}

GTEST_TEST(NeverDestroyedExample, GetConstantMagicNumbers) {
Expand Down

0 comments on commit 84d65d0

Please sign in to comment.