summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Kashkarov <m.kashkarov@partner.samsung.com>2019-12-16 08:04:18 +0300
committerSangwan Kwon <sangwan.kwon@samsung.com>2020-01-07 12:37:20 +0900
commit9aac8fa475ea8d75d3db6fca403494d771cfc88a (patch)
treeaad3ff6dbf5abb7fb319642ff9f203939dcf2569
parent413a93f897a2d24eb607de891207b92f6e9dbdcf (diff)
downloadcsr-framework-9aac8fa475ea8d75d3db6fca403494d771cfc88a.tar.gz
csr-framework-9aac8fa475ea8d75d3db6fca403494d771cfc88a.tar.bz2
csr-framework-9aac8fa475ea8d75d3db6fca403494d771cfc88a.zip
[Tizen 6.0] Support build with GCC 9.2
wp-loader.cpp:34:49: error: 'function' in namespace 'std' does not name a template type 34 | int getValueCstr(std::string &value, const std::function<int(const char **)> &getfunc) | ^~~~~~~~ wp-loader.cpp:29:1: note: 'std::function' is defined in header '<functional>'; did you forget to '#include <functional>'? 28 | #include "common/exception.h" +++ |+#include <functional> Change-Id: I7d4d627cfef2356a2061f6b5e7051e34a68fcee1 Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com> Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
-rw-r--r--src/framework/service/cs-loader.cpp1
-rw-r--r--src/framework/service/wp-loader.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/framework/service/cs-loader.cpp b/src/framework/service/cs-loader.cpp
index 487e6cb..6f3a7d5 100644
--- a/src/framework/service/cs-loader.cpp
+++ b/src/framework/service/cs-loader.cpp
@@ -21,6 +21,7 @@
*/
#include "service/cs-loader.h"
+#include <functional>
#include <stdexcept>
#include <dlfcn.h>
diff --git a/src/framework/service/wp-loader.cpp b/src/framework/service/wp-loader.cpp
index d1021b6..7e8a3bb 100644
--- a/src/framework/service/wp-loader.cpp
+++ b/src/framework/service/wp-loader.cpp
@@ -21,6 +21,7 @@
*/
#include "service/wp-loader.h"
+#include <functional>
#include <stdexcept>
#include <dlfcn.h>