]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/glsl_error.h
Add missing Diagnostic constructor
[libs/gl.git] / source / glsl / glsl_error.h
index 84aa2f52a60a45c42f6bdbe30a5fbc676e418d25..6654770cd90695457de4425374aea968b7f37d2d 100644 (file)
@@ -54,7 +54,8 @@ struct Diagnostic
        unsigned provoking_line;
        std::string message;
 
-       Diagnostic(): severity(INFO), source(-2), line(0) { }
+       Diagnostic();
+       Diagnostic(Severity, int, unsigned, const std::string &);
 };
 
 } // namespace SL