diff options
| author | 2021-03-17 05:58:47 +0000 | |
|---|---|---|
| committer | 2021-03-17 05:58:47 +0000 | |
| commit | 59ee026b3bfd78a67f3141bd362a2f11e9e2c311 (patch) | |
| tree | b46cca2fccd025d09a266deca2035eb9b9341597 /src/modules/extra | |
| parent | Merge branch 'insp3' into master. (diff) | |
Pascalize Get in extension item classes.
Diffstat (limited to 'src/modules/extra')
| -rw-r--r-- | src/modules/extra/m_geo_maxmind.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<Geolocation::Location*>(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; |
