commit 420cb61: [Minor] Do not use names starting from `_` as they might be reserved

Vsevolod Stakhov vsevolod at rspamd.com
Tue Oct 4 23:00:03 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-10-04 23:58:42 +0100
URL: https://github.com/rspamd/rspamd/commit/420cb619af8b6d9d8be871caef77b4c81d60419a (HEAD -> master)

[Minor] Do not use names starting from `_` as they might be reserved
Issue: #4293

---
 src/libserver/symcache/symcache_internal.hxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libserver/symcache/symcache_internal.hxx b/src/libserver/symcache/symcache_internal.hxx
index f2a1e6669..be2a2b2f5 100644
--- a/src/libserver/symcache/symcache_internal.hxx
+++ b/src/libserver/symcache/symcache_internal.hxx
@@ -139,8 +139,8 @@ struct delayed_cache_condition {
 	int cbref;
 	lua_State *L;
 public:
-	delayed_cache_condition(std::string_view _sym, int _cbref, lua_State *_L) :
-		sym(_sym), cbref(_cbref), L(_L) {}
+	delayed_cache_condition(std::string_view sym, int cbref, lua_State *L) :
+		sym(sym), cbref(cbref), L(L) {}
 };
 
 class delayed_symbol_elt {


More information about the Commits mailing list