Remove const to avoid compile error

Fix the compile error

Change-Id: I422b606b2b969b418c2e77b47a3afad0cfc732a1


[ROCm/amdsmi commit: 33dab0c232]
このコミットが含まれているのは:
Bill(Shuzhou) Liu
2024-07-17 08:58:55 -05:00
committed by Maisam Arif
コミット 3fc94657d9
+1 -1
ファイルの表示
@@ -242,7 +242,7 @@ class ScopeGuard {
__forceinline ~ScopeGuard() {
if (!dismiss_) release_();
}
__forceinline ScopeGuard& operator=(const ScopeGuard& rhs) {
__forceinline ScopeGuard& operator=(ScopeGuard& rhs) {
dismiss_ = rhs.dismiss_;
release_ = rhs.release_;
rhs.dismiss_ = true;