Replace magic policy level strings with constexpr
[platform/core/test/security-tests.git] / src / common / sm_policy_request.cpp
index debda17..c129a76 100644 (file)
 
 namespace SecurityManagerTest {
 
+constexpr char PolicyEntry::LEVEL_ALLOW[];
+constexpr char PolicyEntry::LEVEL_DENY[];
+constexpr char PolicyEntry::LEVEL_ASK_USER[];
+
 PolicyEntry::PolicyEntry()
     : m_appId(true, std::string(SECURITY_MANAGER_ANY))
     , m_user(true, std::string(SECURITY_MANAGER_ANY))