From 4d757068c4784a18026089fd812949703bd9470a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 6 Dec 2022 01:48:58 -0800 Subject: Avoid using a macro to wrap standard attributes --- common/comptr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/comptr.h') diff --git a/common/comptr.h b/common/comptr.h index 83f339ca..f2355d05 100644 --- a/common/comptr.h +++ b/common/comptr.h @@ -44,7 +44,7 @@ public: } ComPtr& operator=(ComPtr&& rhs) { - if(&rhs != this) [[allikely]] + if(&rhs != this) [[likely]] { if(mPtr) mPtr->Release(); mPtr = std::exchange(rhs.mPtr, nullptr); -- cgit v1.2.3