Skip to content
Commit 9136dc6e authored by Jonathan Marten's avatar Jonathan Marten
Browse files

Fix compilation with C++17 standard, std::unary_function unavailable

Compilation fails using Clang 16 with "-std=c++17" in effect.
std::unary_function has been removed in this standard and is
replaced by std::function.

messagelib/messagecomposer/src/composer/keyresolver.cpp:348: error: no template
   named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
/usr/include/c++/v1/__functional/unary_function.h:46: note: '__unary_function' declared here
parent 6cb13568
Pipeline #437147 passed with stage
in 12 minutes and 31 seconds
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