Home | History | Annotate | Download | only in foundation

Lines Matching refs:mLocked

109             mLocked(from.mLocked) {}
114 inline T* operator->() const { return mLocked ? &mTreasure : nullptr; }
115 inline T& operator*() const { return mLocked ? mTreasure : *(T*)nullptr; }
118 inline T& get() const { return mLocked ? mTreasure : *(T*)nullptr; }
119 // sets structure. this will abort if mLocked is false.
139 bool mLocked;
174 mLocked(true) {
180 if (mLocked) {
187 if (mLocked) {
188 mLocked = false;
195 if (!mLocked) {
197 mLocked = true;