forked from OSchip/llvm-project
Use `this->` to access inherited member from dependent type (Fix GCC7 build, NFC)
-- PiperOrigin-RevId: 241364505
This commit is contained in:
parent
be4f48d1e1
commit
9089911daa
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue