VisionFlowPro/NodeEditorPro/include/nodes/QUuidStdHash.hpp
2023-02-28 14:50:28 +08:00

22 lines
242 B
C++

#pragma once
#include <functional>
#include <QtCore/QUuid>
#include <QtCore/QVariant>
namespace std
{
template<>
struct hash<QUuid>
{
inline
std::size_t
operator()(QUuid const& uid) const
{
return qHash(uid);
}
};
}