diff options
| author | 2021-03-17 05:58:47 +0000 | |
|---|---|---|
| committer | 2021-03-17 05:58:47 +0000 | |
| commit | 59ee026b3bfd78a67f3141bd362a2f11e9e2c311 (patch) | |
| tree | b46cca2fccd025d09a266deca2035eb9b9341597 /include/extensible.h | |
| parent | Merge branch 'insp3' into master. (diff) | |
Pascalize Get in extension item classes.
Diffstat (limited to 'include/extensible.h')
| -rw-r--r-- | include/extensible.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/extensible.h b/include/extensible.h index 50ffad3c3..e19e31eb0 100644 --- a/include/extensible.h +++ b/include/extensible.h @@ -202,7 +202,7 @@ class SimpleExtItem : public ExtensionItem /** Destroys an instance of the SimpleExtItem class. */ virtual ~SimpleExtItem() = default; - inline T* get(const Extensible* container) const + inline T* Get(const Extensible* container) const { return static_cast<T*>(GetRaw(container)); } @@ -291,7 +291,7 @@ class CoreExport IntExtItem : public ExtensionItem * @param container The container that the IntExtItem is set on. * @return Either the value of this IntExtItem or NULL if it is not set. */ - intptr_t get(const Extensible* container) const; + intptr_t Get(const Extensible* container) const; /** @copydoc ExtensionItem::FromInternal */ void FromInternal(Extensible* container, const std::string& value) override; |
