summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2013-11-12 13:42:50 +0000
committerGordon Sim <gsim@apache.org>2013-11-12 13:42:50 +0000
commit1fe3f166e5db96aae1253343c1eaea3d48b01316 (patch)
treebf22224e3b8cac006306aa89202441180029ee3c /cpp/src/qpid/sys
parent5f3ff3bcc03691d0646cd75d8408be284d8adee6 (diff)
downloadqpid-python-1fe3f166e5db96aae1253343c1eaea3d48b01316.tar.gz
QPID-5251: allow policies to be specified that will create topics or queues on demand if they match the specified pattern
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1541059 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys')
-rw-r--r--cpp/src/qpid/sys/regex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/regex.h b/cpp/src/qpid/sys/regex.h
index c183991eb7..77de6a7f5c 100644
--- a/cpp/src/qpid/sys/regex.h
+++ b/cpp/src/qpid/sys/regex.h
@@ -56,7 +56,7 @@ public:
friend bool regex_match(const std::string& s, const regex& re);
};
-bool regex_match(const std::string& s, const regex& re) {
+inline bool regex_match(const std::string& s, const regex& re) {
return ::regexec(&(re.re), s.c_str(), 0, 0, 0)==0;
}