This is an archive of the discontinued LLVM Phabricator instance.

Fix SFINAE in JSON.h constructor.
ClosedPublic

Authored by jlebar on Feb 10 2020, 8:38 PM.

Details

Summary

This used std::enable_if without referencing ::type. Changed to use
std::enable_if_t.

Diff Detail

Event Timeline

jlebar created this revision.Feb 10 2020, 8:38 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 10 2020, 8:38 PM
MaskRay accepted this revision.Feb 10 2020, 11:22 PM
This revision is now accepted and ready to land.Feb 10 2020, 11:22 PM

Thank you for the review!

This revision was automatically updated to reflect the committed changes.