aboutsummaryrefslogtreecommitdiffstats
path: root/common/comptr.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-12-06 01:48:58 -0800
committerChris Robinson <[email protected]>2022-12-06 01:48:58 -0800
commit4d757068c4784a18026089fd812949703bd9470a (patch)
tree1a1c2f819d14acc7a32cc26f10ffa1227c72b744 /common/comptr.h
parent25a6814cf36bee82b24cb1b5f40769e66c327db4 (diff)
Avoid using a macro to wrap standard attributes
Diffstat (limited to 'common/comptr.h')
-rw-r--r--common/comptr.h2
1 files changed, 1 insertions, 1 deletions
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);