2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 12:27:43 +00:00

CGuiModel imps

This commit is contained in:
Jack Andersen
2016-03-16 16:18:01 -10:00
parent b4514fc6a6
commit 79d90f46d3
16 changed files with 190 additions and 39 deletions

View File

@@ -249,8 +249,8 @@ public:
TLockedToken() : m_obj(nullptr) {}
TLockedToken(const CToken& other) : TToken<T>(other) {m_obj = TToken<T>::GetObj();}
TLockedToken(CToken&& other) : TToken<T>(std::move(other)) {m_obj = TToken<T>::GetObj();}
T* GetObj() {return m_obj;}
T* operator->() {return m_obj;}
T* GetObj() const {return m_obj;}
T* operator->() const {return m_obj;}
};
}