diff options
Diffstat (limited to 'common/comptr.h')
-rw-r--r-- | common/comptr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/comptr.h b/common/comptr.h index f2355d05..cdc6dec0 100644 --- a/common/comptr.h +++ b/common/comptr.h @@ -44,7 +44,7 @@ public: } ComPtr& operator=(ComPtr&& rhs) { - if(&rhs != this) [[likely]] + if(&rhs != this) LIKELY { if(mPtr) mPtr->Release(); mPtr = std::exchange(rhs.mPtr, nullptr); |