[Tizen 6.0] Support build with GCC 9.2
1. mgr is dependent type, not expected to be a template - so it parses as a non
template and T<..> () is invalid for anything except a template: [temp.dep.type]
message-service.h:101:18: error: expected primary-expression before '>' token
101 | mgr.Register<Msg>([this](const Msg & msg) {
|
2. Add missing include:
obj.h:33:44: error: 'function' is not a member of 'std'
33 | typedef std::unique_ptr<EVP_PKEY_CTX, std::function<void(EVP_PKEY_CTX *)>>
| ^~~~~~~~
obj.h:28:1: note: 'std::function' is defined in header '<functional>';
did you forget to '#include <functional>'?
27 | #include <data-type.h>
+++ |+#include <functional>
Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com>