diff options
Diffstat (limited to 'mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch')
-rw-r--r-- | mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch b/mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch new file mode 100644 index 000000000000..a76b102be147 --- /dev/null +++ b/mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch @@ -0,0 +1,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 |