Skip to content

Commit

Permalink
Migrate to const method if possible
Browse files Browse the repository at this point in the history
They were reported by VS 2022
  • Loading branch information
YaSuenag committed Dec 8, 2023
1 parent 7292a05 commit 014623c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SimpleCom/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class HandleHandler {
}
}

inline HANDLE handle() {
inline HANDLE handle() const {
return _handle;
}
};
Expand All @@ -68,7 +68,7 @@ class RegistryKeyHandler {
}
}

HKEY key() {
HKEY key() const {
return hKey;
}
};

0 comments on commit 014623c

Please sign in to comment.