Commit 8dcf2029 by Frank Henigman

GLSL: Always define TShader::~Includer().

Rather than update the existing ifdef to cover all necessary cases, get rid of it and always define TShader::~Includer().
parent b56f4ac7
...@@ -375,9 +375,7 @@ public: ...@@ -375,9 +375,7 @@ 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() {}
virtual ~Includer() {} // Pacify -Werror=non-virtual-dtor
#endif
}; };
// Returns an error message for any #include directive. // Returns an error message for any #include directive.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment