Commit 75f4f39c authored by Matthias Vallentin's avatar Matthias Vallentin

Fix off-by-one bug

parent 08204930
...@@ -195,7 +195,7 @@ public: ...@@ -195,7 +195,7 @@ public:
template <size_t N> template <size_t N>
bool accepts(int level, const char (&component)[N]) { bool accepts(int level, const char (&component)[N]) {
return accepts(level, component, component + N); return accepts(level, component, component + N - 1);
} }
/** @endcond */ /** @endcond */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment