fix for -Werror=non-virtual-dtor for Android system builds

This commit is contained in:
GregF 2016-05-11 14:46:48 -06:00
parent fc6ac78567
commit 2713ed735d

View File

@ -356,6 +356,9 @@ public:
// Signals that the parser will no longer use the contents of the
// specified IncludeResult.
virtual void releaseInclude(IncludeResult* result) = 0;
#ifdef __ANDROID__
virtual ~Includer() {} // Pacify -Werror=non-virtual-dtor
#endif
};
// Returns an error message for any #include directive.