You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch

20 lines
565 B

--- 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