From 84d65d0be47a9f3c786437271ad0a909e102237e Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Thu, 9 Dec 2021 09:15:44 -0600 Subject: [PATCH] access -> Access Signed-off-by: Michael Carroll --- src/NeverDestroyed_TEST.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NeverDestroyed_TEST.cc b/src/NeverDestroyed_TEST.cc index 844909e..7cc0bd2 100644 --- a/src/NeverDestroyed_TEST.cc +++ b/src/NeverDestroyed_TEST.cc @@ -49,7 +49,7 @@ class Singleton { static Singleton& getInstance() { static ignition::utils::NeverDestroyed instance; - return instance.access(); + return instance.Access(); } private: friend ignition::utils::NeverDestroyed; @@ -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) { @@ -94,7 +94,7 @@ const std::vector& GetConstantMagicNumbers() { } return prototype; }()}; - return result.access(); + return result.Access(); } GTEST_TEST(NeverDestroyedExample, GetConstantMagicNumbers) {