diff --git a/renderer/dyna_gl.h b/renderer/dyna_gl.h index 3c435f06..f4d3c6ea 100644 --- a/renderer/dyna_gl.h +++ b/renderer/dyna_gl.h @@ -63,7 +63,7 @@ inline void CheckError() { template struct FnPtr; template -struct FnPtr { +struct FnPtr { explicit FnPtr(std::string_view name, bool optional = false); Ret operator()(Args... args) const { @@ -99,7 +99,7 @@ static void LoadGLFnPtrs() { } template -FnPtr::FnPtr(std::string_view name, bool optional) : fn_{} { +FnPtr::FnPtr(std::string_view name, bool optional) : fn_{} { inits_.push_back(std::make_tuple(reinterpret_cast(&fn_), name, optional)); }