commit 65803d9: [Minor] Add missing include
Vsevolod Stakhov
vsevolod at highsecure.ru
Fri Oct 1 19:42:04 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-10-01 20:40:04 +0100
URL: https://github.com/rspamd/rspamd/commit/65803d93db5b08e5a87e71797438046e0859758e (HEAD -> master)
[Minor] Add missing include
---
src/libutil/mem_pool.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/libutil/mem_pool.h b/src/libutil/mem_pool.h
index d3927a1bc..220d8f389 100644
--- a/src/libutil/mem_pool.h
+++ b/src/libutil/mem_pool.h
@@ -398,7 +398,8 @@ GList *rspamd_mempool_glist_append (rspamd_mempool_t *pool,
#endif
#ifdef __cplusplus
-#include <memory> /* For allocator */
+#include <stdexcept> /* For std::runtime_error */
+
namespace rspamd {
template<class T>
More information about the Commits
mailing list