summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_regex_pcre.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_regex_pcre.cpp')
-rw-r--r--src/modules/extra/m_regex_pcre.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_regex_pcre.cpp b/src/modules/extra/m_regex_pcre.cpp
index ca6bdfb95..ebd2213b2 100644
--- a/src/modules/extra/m_regex_pcre.cpp
+++ b/src/modules/extra/m_regex_pcre.cpp
@@ -35,7 +35,7 @@ class PCREException : public ModuleException
{
public:
PCREException(const std::string& rx, const std::string& error, int erroffset)
- : ModuleException(std::string("Error in regex ") + rx + " at offset " + ConvToStr(erroffset) + ": " + error)
+ : ModuleException("Error in regex " + rx + " at offset " + ConvToStr(erroffset) + ": " + error)
{
}
};