From ed6627082b31dddbc7329e70db0c777c4dcee734 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Tr=C3=A1vn=C3=AD=C4=8Dek?= <jan.travnicek@fit.cvut.cz>
Date: Thu, 25 Nov 2021 16:01:24 +0100
Subject: [PATCH] common: don't report false positive

---
 alib2common/src/object/Object.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/alib2common/src/object/Object.h b/alib2common/src/object/Object.h
index 01daa2592c..6605132989 100644
--- a/alib2common/src/object/Object.h
+++ b/alib2common/src/object/Object.h
@@ -70,6 +70,7 @@ public:
 	 */
 	template < class Type >
 	requires ( ! std::is_same_v < std::decay_t < Type >, Object > )
+	// NOLINTNEXTLINE ( bugprone-forwarding-reference-overload )
 	explicit Object ( Type && data ) : Object ( object::AnyObject < typename std::decay < Type >::type > ( std::forward < Type > ( data ) ) ) {
 	}
 
-- 
GitLab