Commit ae975938 authored by Volker Krause's avatar Volker Krause
Browse files

Rely on automatic pair type deduction

Specifying types explicitly fails with Qt6.
parent 2b044416
......@@ -431,7 +431,7 @@ private:
{
CommandFactoryFunc cmdFunc = &commandFactoryFunc<CmdType>;
ResponseFactoryFunc respFunc = &responseFactoryFunc<RespType>;
registrar.insert(T, qMakePair<CommandFactoryFunc, ResponseFactoryFunc>(cmdFunc, respFunc));
registrar.insert(T, qMakePair(cmdFunc, respFunc));
}
};
......
Supports Markdown
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