summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/broker/AclModule.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/AclModule.h b/cpp/src/qpid/broker/AclModule.h
index 36a3f0baab..851e43c3f4 100644
--- a/cpp/src/qpid/broker/AclModule.h
+++ b/cpp/src/qpid/broker/AclModule.h
@@ -89,6 +89,7 @@ class AclHelper {
case METHOD: return "method";
default: assert(false); // should never get here
}
+ return "";
}
static inline Action getAction(const std::string& str) {
if (str.compare("consume") == 0) return CONSUME;
@@ -115,6 +116,7 @@ class AclHelper {
case UPDATE: return "update";
default: assert(false); // should never get here
}
+ return "";
}
static inline Property getProperty(const std::string& str) {
if (str.compare("name") == 0) return NAME;
@@ -147,6 +149,7 @@ class AclHelper {
case SCHEMACLASS: return "schemaclass";
default: assert(false); // should never get here
}
+ return "";
}
static inline AclResult getAclResult(const std::string& str) {
if (str.compare("allow") == 0) return ALLOW;
@@ -163,6 +166,7 @@ class AclHelper {
case DENYLOG: return "deny-log";
default: assert(false); // should never get here
}
+ return "";
}
typedef std::set<Property> propSet;