aboutsummaryrefslogtreecommitdiff
path: root/lib/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.cpp')
-rw-r--r--lib/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.cpp b/lib/util.cpp
index 02de39a0..1fadb9a8 100644
--- a/lib/util.cpp
+++ b/lib/util.cpp
@@ -26,7 +26,7 @@ static const auto RegExpOptions =
| QRegularExpression::UseUnicodePropertiesOption;
/** Converts all that looks like a URL into HTML links */
-static void linkifyUrls(QString& htmlEscapedText)
+[[gnu::const]] static void linkifyUrls(QString& htmlEscapedText)
{
// regexp is originally taken from Konsole (https://github.com/KDE/konsole)
// full url: