diff options
author | Thomas Rodgers <trodgers@redhat.com> | 2020-09-11 13:51:07 -0700 |
---|---|---|
committer | Thomas Rodgers <trodgers@redhat.com> | 2020-09-11 14:08:13 -0700 |
commit | 64064678d6cb48fdc7e039fde15d471960d496d3 (patch) | |
tree | eb044ad99d59edad8d507c3c7ce7ab7deeb6632a | |
parent | f76b0f231b3785bbf49c97173692371f769e4573 (diff) | |
download | gcc-64064678d6cb48fdc7e039fde15d471960d496d3.zip gcc-64064678d6cb48fdc7e039fde15d471960d496d3.tar.gz gcc-64064678d6cb48fdc7e039fde15d471960d496d3.tar.bz2 |
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.
-rw-r--r-- | libstdc++-v3/include/std/memory | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/memory b/libstdc++-v3/include/std/memory index a56952f..aee7b05 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> |