projects
/
platform
/
core
/
system
/
libdbuspolicy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9c0b00
)
coverity: Fix coverity issue
46/226146/1
submit/tizen/20200323.074358
submit/tizen/20200324.035254
submit/tizen/20200325.234821
author
sanghyeok.oh
<sanghyeok.oh@samsung.com>
Thu, 27 Feb 2020 06:33:22 +0000
(15:33 +0900)
committer
sanghyeok.oh
<sanghyeok.oh@samsung.com>
Thu, 27 Feb 2020 06:35:30 +0000
(15:35 +0900)
constexpr function should return LiteralType
Coverity: #1050604 Parse warning
constexpr_return_not_constant
Change-Id: I608c84748dc515778bf96c6b65e59f1e389359c3
src/libdbuspolicy1.cpp
patch
|
blob
|
history
diff --git
a/src/libdbuspolicy1.cpp
b/src/libdbuspolicy1.cpp
index
2e53479
..
027f385
100644
(file)
--- a/
src/libdbuspolicy1.cpp
+++ b/
src/libdbuspolicy1.cpp
@@
-316,7
+316,7
@@
DBUSPOLICY1_EXPORT void* dbuspolicy1_init(const char *bus_path)
// helper functions
namespace {
-
constexpr
kconn *KCONN(void *config) { return static_cast<kconn *>(config); }
+kconn *KCONN(void *config) { return static_cast<kconn *>(config); }
/*
* This function prepares contents of info.names() for initialization of MatchItems.