mirror of https://github.com/KLayout/klayout.git
Build fixes for Qt4
This commit is contained in:
parent
69a8f3ac11
commit
283a9d0b22
|
|
@ -354,6 +354,15 @@ namespace std
|
|||
* @brief Generic hash for QString
|
||||
*/
|
||||
|
||||
template <>
|
||||
struct hash <QChar>
|
||||
{
|
||||
size_t operator() (const QChar &o) const
|
||||
{
|
||||
return hfunc (o.unicode ());
|
||||
}
|
||||
};
|
||||
|
||||
template <>
|
||||
size_t hfunc (const QString &o, size_t h)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue