-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Line 142 in c246a5d
| p->QueryInterface(__uuidof(T), (void**)&p_); |
g++ may raise an error : error: 'p_' was not declared in this scope .
Use (void**)&(this->p_) would be better.
See https://stackoverflow.com/questions/1120833/derived-template-class-access-to-base-class-member-data
https://isocpp.org/wiki/faq/templates#nondependent-name-lookup-members
Metadata
Metadata
Assignees
Labels
No labels