Skip to content

Commit

Permalink
Merge pull request #70 from ccwanggl/main
Browse files Browse the repository at this point in the history
fix demo code typo error
  • Loading branch information
archibate authored Dec 17, 2024
2 parents 0aca22a + 4a2e648 commit c6bbf5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cpp_tricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ struct RAIIHandle {
}
RAIIHandle(RAIIHandle const &) = delete;
RAIIHandle &operator=(RAIIHandle const &) = delete;
RAIIHandle() {
~RAIIHandle() {
DeleteObject(handle);
}
};
Expand Down

0 comments on commit c6bbf5f

Please sign in to comment.