public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-3168] libstdc++: only pull in bits/align.h if C++11 or later
@ 2020-09-11 21:09 Thomas Rodgers
  0 siblings, 0 replies; only message in thread
From: Thomas Rodgers @ 2020-09-11 21:09 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:64064678d6cb48fdc7e039fde15d471960d496d3

commit r11-3168-g64064678d6cb48fdc7e039fde15d471960d496d3
Author: Thomas Rodgers <trodgers@redhat.com>
Date:   Fri Sep 11 13:51:07 2020 -0700

    libstdc++: only pull in bits/align.h if C++11 or later
    
    libstdc++-v3/ChangeLog:
    
            * include/std/memory: Move #include <bits/align.h> inside C++11
            conditional includes.

Diff:
---
 libstdc++-v3/include/std/memory | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/include/std/memory b/libstdc++-v3/include/std/memory
index a56952fb114..aee7b050bd7 100644
--- a/libstdc++-v3/include/std/memory
+++ b/libstdc++-v3/include/std/memory
@@ -61,7 +61,6 @@
  */
 
 #include <bits/stl_algobase.h>
-#include <bits/align.h>
 #include <bits/allocator.h>
 #include <bits/stl_construct.h>
 #include <bits/stl_uninitialized.h>
@@ -75,6 +74,7 @@
 #  include <iosfwd>           	  // std::basic_ostream
 #  include <ext/atomicity.h>
 #  include <ext/concurrence.h>
+#  include <bits/align.h>
 #  include <bits/functexcept.h>
 #  include <bits/stl_function.h>  // std::less
 #  include <bits/uses_allocator.h>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-11 21:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11 21:09 [gcc r11-3168] libstdc++: only pull in bits/align.h if C++11 or later Thomas Rodgers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).