commit 5330106: [Minor] Oops, add namespace

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Jul 22 17:00:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-07-22 17:57:22 +0100
URL: https://github.com/rspamd/rspamd/commit/5330106c1eb9b4bad545eb3d41bf3e1db8535e1f (HEAD -> master)

[Minor] Oops, add namespace

---
 src/libutil/cxx/local_shared_ptr.hxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libutil/cxx/local_shared_ptr.hxx b/src/libutil/cxx/local_shared_ptr.hxx
index 7eb5b0d9f..b9a429d14 100644
--- a/src/libutil/cxx/local_shared_ptr.hxx
+++ b/src/libutil/cxx/local_shared_ptr.hxx
@@ -146,7 +146,7 @@ public:
 			cnt->add_shared();
 		}
 	}
-	local_shared_ptr(nullptr_t) : local_shared_ptr() { }
+	local_shared_ptr(std::nullptr_t) : local_shared_ptr() { }
 
 	~local_shared_ptr() {
 		if (cnt) {


More information about the Commits mailing list