Skip to content

Commit

Permalink
Document CLSID equality behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
vanjac committed Jun 18, 2022
1 parent 5b4d273 commit aed78c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PreviewWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <shlobj.h>
#include <unordered_map>

// TODO: is this enough? what about checking equality?
// operator== is implemented for GUIDs in guiddef.h
template<>
struct std::hash<CLSID> {
std::size_t operator() (const CLSID &key) const {
Expand Down

0 comments on commit aed78c9

Please sign in to comment.