Make std::hash enum values non-const.
MSVC fails when these hash values are const as seen with the following on Windows: `error: call to implicitly-deleted default constructor of 'std::hash<const input_prediction::PredictorType>'`. This can be seen I don't see a clear reason for them to be const, and have thus removed them in this CL in order to fix the build on MSVC. here: https://ci.appveyor.com/project/electron-bot/electron-ia32-testing/builds/26830974. Change-Id: I978cd122554a30715a54bc3e0609f5724539bae3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1762335Reviewed-by:David Bokan <bokan@chromium.org> Commit-Queue: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#689468}
Showing
Please register or sign in to comment