mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-10 05:58:00 +00:00
All editors implemented
This commit is contained in:
@@ -47,4 +47,15 @@ static QLatin1String StringViewToQString(std::string_view sv)
|
||||
/* Used for generating transform matrices to map SVG coordinate space */
|
||||
QTransform RectToRect(const QRectF& from, const QRectF& to);
|
||||
|
||||
namespace std
|
||||
{
|
||||
template<> struct hash<QString>
|
||||
{
|
||||
std::size_t operator()(const QString& s) const noexcept
|
||||
{
|
||||
return qHash(s);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#endif //AMUSE_COMMON_HPP
|
||||
|
||||
Reference in New Issue
Block a user