summaryrefslogtreecommitdiff
path: root/mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch
blob: a76b102be1472dee1e432ff244e602df446ebc53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/src/common.h
+++ b/src/common.h
@@ -28,14 +28,14 @@ namespace util {
      * @param x A string literal
      * @return A pointer to char
      */
-    auto ccp = [](const std::string &str) {
+    inline auto ccp = [](const std::string &str) {
         return const_cast<char *> (str.c_str());
     };
 
     /*!
      * @brief Data structure for each client connection
      */
-    auto mlfipriv = [](SMFICTX *ctx) {
+    inline auto mlfipriv = [](SMFICTX *ctx) {
         return static_cast<mlt::Client *> (smfi_getpriv(ctx));
     };
 }  // namespace util