diff --git a/src/Magnum/Context.cpp b/src/Magnum/Context.cpp index 7818d1cad..8f556ac45 100644 --- a/src/Magnum/Context.cpp +++ b/src/Magnum/Context.cpp @@ -409,7 +409,7 @@ Context::Context(NoCreateT, void functionLoader()) { /* Nothing else, waiting for create() to be called */ } -Context::Context(void functionLoader()): Context{NoCreateT{}, functionLoader} { +Context::Context(void functionLoader()): Context{NoCreate, functionLoader} { /* Hard exit if the context cannot be created */ if(!create()) std::exit(1); }