Unify privilege representation
[platform/core/test/security-tests.git] / src / common / app_def_privilege.h
index a39b7ba..40d1d46 100644 (file)
@@ -72,6 +72,8 @@ public:
 
     operator std::string() const { return m_name; }
 
+    bool operator==(const std::string& other) const { return m_name == other; }
+
 private:
     std::string m_name;
     Type m_type;