On 29/11/18 08:47 -0500, Ed Smith-Rowland wrote:
Fixed with 266616.

Thanks!

Index: include/std/deque
===================================================================
--- include/std/deque   (revision 266567)
+++ include/std/deque   (working copy)
@@ -58,6 +58,7 @@
#pragma GCC system_header

#include <bits/stl_algobase.h>
+#include <bits/stl_algo.h> // For remove and remove_if

Please only include <bits/stl_algo.h> when __cplusplus > 201703L
otherwise we include hundreds of kilobytes of code just for these tiny
functions that aren't even defined in the default C++14 dialect.

At some point I'll split std::remove and std::remove_if into their own
header, and we can just include that instead.

Reply via email to