fix for -Werror=non-virtual-dtor for Android system builds
This commit is contained in:
parent
fc6ac78567
commit
2713ed735d
1 changed files with 3 additions and 0 deletions
|
|
@ -356,6 +356,9 @@ public:
|
||||||
// Signals that the parser will no longer use the contents of the
|
// Signals that the parser will no longer use the contents of the
|
||||||
// specified IncludeResult.
|
// specified IncludeResult.
|
||||||
virtual void releaseInclude(IncludeResult* result) = 0;
|
virtual void releaseInclude(IncludeResult* result) = 0;
|
||||||
|
#ifdef __ANDROID__
|
||||||
|
virtual ~Includer() {} // Pacify -Werror=non-virtual-dtor
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
// Returns an error message for any #include directive.
|
// Returns an error message for any #include directive.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue