From 59ee026b3bfd78a67f3141bd362a2f11e9e2c311 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 17 Mar 2021 05:58:47 +0000 Subject: Pascalize Get in extension item classes. --- src/modules/extra/m_geo_maxmind.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_geo_maxmind.cpp b/src/modules/extra/m_geo_maxmind.cpp index 78a686073..8b99081ea 100644 --- a/src/modules/extra/m_geo_maxmind.cpp +++ b/src/modules/extra/m_geo_maxmind.cpp @@ -56,7 +56,7 @@ class GeolocationExtItem : public ExtensionItem old->refcount_dec(); } - Geolocation::Location* get(const Extensible* item) const + Geolocation::Location* Get(const Extensible* item) const { return static_cast(GetRaw(item)); } @@ -91,7 +91,7 @@ class GeolocationAPIImpl : public Geolocation::APIBase Geolocation::Location* GetLocation(User* user) override { // If we have the location cached then use that instead. - Geolocation::Location* location = ext.get(user); + Geolocation::Location* location = ext.Get(user); if (location) return location; -- cgit v1.3.1-10-gc9f91