Remove const to avoid compile error

Fix the compile error

Change-Id: I422b606b2b969b418c2e77b47a3afad0cfc732a1
Этот коммит содержится в:
Bill(Shuzhou) Liu
2024-07-17 08:58:55 -05:00
коммит произвёл Maisam Arif
родитель 8f15c22606
Коммит 33dab0c232
+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;