X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fglsl_error.h;h=1b005e0fc9db96c4230a9268fc8cc54e7eedf1f5;hb=7b73b63df12b3ace4231842aa291d6e1d7b3f948;hp=46ca49be35daf98062a9cff156426fde9882eb6b;hpb=30465dd3b9f55ec42c4b19c3c2077eede7237a26;p=libs%2Fgl.git diff --git a/source/glsl/glsl_error.h b/source/glsl/glsl_error.h index 46ca49be..1b005e0f 100644 --- a/source/glsl/glsl_error.h +++ b/source/glsl/glsl_error.h @@ -13,6 +13,7 @@ struct Location; class invalid_shader_source: public std::runtime_error { public: + invalid_shader_source(const std::string &w): runtime_error(w) { } invalid_shader_source(const Location &, const std::string &); #if __cplusplus>=201103L template