Add header for std::search to testcase
authorJonathan Wakely <jwakely@redhat.com>
Thu, 14 Jul 2016 15:27:09 +0000 (16:27 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 14 Jul 2016 15:27:09 +0000 (16:27 +0100)
* testsuite/experimental/functional/searchers.cc: Include <algorithm>
for std::search.

From-SVN: r238341

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/experimental/functional/searchers.cc

index 491e0d8..a47781c 100644 (file)
@@ -1,5 +1,8 @@
 2016-07-14  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/experimental/functional/searchers.cc: Include <algorithm>
+       for std::search.
+
        PR libstdc++/70716
        * include/bits/forward_list.h (forward_list): Update doxygen comments
        to reflect allocator propagation semantics. Remove ambiguous
index 5e585f8..143593f 100644 (file)
@@ -22,6 +22,7 @@
 #ifdef _GLIBCXX_USE_WCHAR_T
 # include <cwchar>
 #endif
+#include <algorithm>
 #include <testsuite_hooks.h>
 
 using std::experimental::make_default_searcher;