From 31a173ecd36639e54f98d8f51baf6875b333024f Mon Sep 17 00:00:00 2001 From: Dmitry Kovalenko Date: Tue, 26 Sep 2017 16:10:30 +0300 Subject: [PATCH] Fix build for Tizen 4.0 (redundant const) Cherry-picked fix from Tizen 4.0 Change-Id: Ic245ba1ad75eba6df6eb47887dea9dc3f72d2327 Signed-off-by: Dmitry Kovalenko --- daemon/cpp/elf/Elf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/cpp/elf/Elf.cpp b/daemon/cpp/elf/Elf.cpp index 0ece1f0..19eea69 100644 --- a/daemon/cpp/elf/Elf.cpp +++ b/daemon/cpp/elf/Elf.cpp @@ -29,7 +29,7 @@ uint64_t Elf::plt(const std::string &path, const std::string &funcName) { - const struct elfp *e = elfp_init(path.c_str()); + struct elfp *e = elfp_init(path.c_str()); if (!e) { LOGE("Cannot init elfp, filename='%s'\n", path.c_str()); return 0; -- 2.7.4