This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [tests] Add missing includes, especially <functional>, to priority.queue/types.pass.cpp.
ClosedPublic

Authored by STL_MSFT on Jul 5 2016, 1:44 PM.

Details

Summary

Add missing includes, especially <functional>, to priority.queue/types.pass.cpp.

This is required according to the Standard, and it fixes compiler errors with MSVC (as our headers don't usually drag in std::greater).

Diff Detail

Event Timeline

STL_MSFT updated this revision to Diff 62783.Jul 5 2016, 1:44 PM
STL_MSFT retitled this revision from to [libcxx] [tests] Add missing includes, especially <functional>, to priority.queue/types.pass.cpp..
STL_MSFT updated this object.
STL_MSFT added reviewers: EricWF, mclow.lists.
STL_MSFT added a subscriber: cfe-commits.
EricWF accepted this revision.Jul 17 2016, 7:08 PM
EricWF edited edge metadata.
This revision is now accepted and ready to land.Jul 17 2016, 7:08 PM
EricWF closed this revision.Jul 17 2016, 7:14 PM

r275751.