diff options
| author | Gordon Sim <gsim@apache.org> | 2013-11-12 13:42:50 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2013-11-12 13:42:50 +0000 |
| commit | 1fe3f166e5db96aae1253343c1eaea3d48b01316 (patch) | |
| tree | bf22224e3b8cac006306aa89202441180029ee3c /cpp/src/qpid/sys | |
| parent | 5f3ff3bcc03691d0646cd75d8408be284d8adee6 (diff) | |
| download | qpid-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.h | 2 |
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; } |
