diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-06-12 19:27:38 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-06-12 19:27:38 (GMT) |
commit | 7536e3a858e3c94f0e2a2ece52208364fd4b92d6 (patch) | |
tree | 07c763a8f5076dd2c220262f33bf7b41c5c4244e /src/regex.h | |
parent | 5be74469a6c35b086393b339ebb27328ceb73a4c (diff) | |
download | Doxygen-7536e3a858e3c94f0e2a2ece52208364fd4b92d6.zip Doxygen-7536e3a858e3c94f0e2a2ece52208364fd4b92d6.tar.gz Doxygen-7536e3a858e3c94f0e2a2ece52208364fd4b92d6.tar.bz2 |
issue #8588: References to multiply nested class is broken with INLINE_SIMPLE_STRUCTS=YES
Diffstat (limited to 'src/regex.h')
-rw-r--r-- | src/regex.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regex.h b/src/regex.h index bedc052..531092b 100644 --- a/src/regex.h +++ b/src/regex.h @@ -162,11 +162,11 @@ class Match /** Return a string representing the matching part. */ std::string str() const { return m_subMatches[0].str(); } - /** Return the part of the string after the match */ - SubMatch suffix() const { SubMatch m(m_str); m.setMatch(0,position()); return m; } - /** Return the part of the string before the match */ - SubMatch prefix() const + SubMatch prefix() const { SubMatch m(m_str); m.setMatch(0,position()); return m; } + + /** Return the part of the string after the match */ + SubMatch suffix() const { SubMatch m(m_str); if (m_str) |