[PATCH] D22012: [libcxx] [tests] Add missing includes, especially <functional>, to priority.queue/types.pass.cpp.
Stephan T. Lavavej via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 5 13:44:09 PDT 2016
STL_MSFT created this revision.
STL_MSFT added reviewers: EricWF, mclow.lists.
STL_MSFT added a subscriber: cfe-commits.
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).
@@ -27,7 +27,11 @@
: private std::priority_queue<int>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 507 bytes
Desc: not available
More information about the cfe-commits