From df97ea848c8d895dd9f52b27721630f6ccf0fde3 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sun, 10 Jan 2021 10:01:54 +0100 Subject: [PATCH] Fix error for C++ --- m-core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-core.h b/m-core.h index 38ad3bb7..1a6d1aca 100644 --- a/m-core.h +++ b/m-core.h @@ -2103,7 +2103,7 @@ namespace m_lib { NOTE: C++ definition using template as C++ doesn't support compound litteral. */ #define M_CSTR(...) \ - (const m_lib::m_char_array(__VA_ARGS__)).m_get() + (m_lib::m_char_array(__VA_ARGS__)).m_get() #else