Use `this->` to access inherited member from dependent type (Fix GCC7 build, NFC)

--

PiperOrigin-RevId: 241364505
This commit is contained in:
Mehdi Amini 2019-04-01 11:28:27 -07:00 committed by Mehdi Amini
parent be4f48d1e1
commit 9089911daa
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ public:
}
/// Utility for easy access to the storage instance.
ImplType *getImpl() const { return static_cast<ImplType *>(type); }
ImplType *getImpl() const { return static_cast<ImplType *>(this->type); }
};
using ImplType = TypeStorage;