modernize: Replace most remaining old-style connects by PMF ones
[quassel.git] / src / common / nickhighlightmatcher.h
index e6757b7..ec4df0d 100644 (file)
@@ -20,6 +20,8 @@
 
 #pragma once
 
+#include "common-export.h"
+
 #include <QHash>
 #include <QString>
 #include <QStringList>
@@ -30,7 +32,7 @@
 /**
  * Nickname matcher with automatic caching for performance
  */
-class NickHighlightMatcher
+class COMMON_EXPORT NickHighlightMatcher
 {
 public:
     /// Nickname highlighting mode
@@ -45,7 +47,7 @@ public:
     /**
      * Construct an empty NicknameMatcher
      */
-    NickHighlightMatcher() {}
+    NickHighlightMatcher() = default;
 
     /**
      * Construct a configured NicknameMatcher