mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-08 13:14:58 +00:00
Remove redefinition of hash<QString>
This commit is contained in:
@@ -48,10 +48,3 @@ QString ShowInGraphicalShellString();
|
|||||||
|
|
||||||
/* Used for generating transform matrices to map SVG coordinate space */
|
/* Used for generating transform matrices to map SVG coordinate space */
|
||||||
QTransform RectToRect(const QRectF& from, const QRectF& to);
|
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); }
|
|
||||||
};
|
|
||||||
} // namespace std
|
|
||||||
|
|||||||
Reference in New Issue
Block a user