Fix build against Qt without std::hash<QString> specialization
ClosedPublic

Authored by dvratil on Oct 8 2019, 11:35 AM.

Details

Summary

std::hash specializations for some Qt types were introduced in
Qt 5.14, it appears. To build against older Qt we need to specialize
std::hash ourselves.

Test Plan

Master builds against Qt 5.12.5

Diff Detail

Repository
R45 Heaptrack
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dvratil requested review of this revision.Oct 8 2019, 11:35 AM
dvratil created this revision.
dvratil edited the summary of this revision. (Show Details)Oct 8 2019, 11:36 AM
mwolff accepted this revision.Oct 8 2019, 6:42 PM

thanks

This revision is now accepted and ready to land.Oct 8 2019, 6:42 PM
This revision was automatically updated to reflect the committed changes.