diff options
author | Martin Sebor <msebor@redhat.com> | 2018-02-27 23:29:51 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2018-02-27 16:29:51 -0700 |
commit | 2211eff6594f079dd741be7850b012ac43948746 (patch) | |
tree | 9091058671b3e8900903e52392ac91d720a13c62 /gcc | |
parent | d4cfd486ebe3fadb7a67c53c24843770a1d8ba72 (diff) | |
download | gcc-2211eff6594f079dd741be7850b012ac43948746.zip gcc-2211eff6594f079dd741be7850b012ac43948746.tar.gz gcc-2211eff6594f079dd741be7850b012ac43948746.tar.bz2 |
Avoid including <string> directly.
From-SVN: r258046
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/pt.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9b4dd03..e5f9829 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,9 @@ 2018-02-27 Martin Sebor <msebor@redhat.com> + * pt.c: Avoid including <string> directly. + +2018-02-27 Martin Sebor <msebor@redhat.com> + PR c++/83871 PR c++/83503 * cp-tree.h (warn_spec_missing_attributes): New function. diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index ae777db..23eb2db 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -24,8 +24,8 @@ along with GCC; see the file COPYING3. If not see all methods must be provided in header files; can't use a source file that contains only the method templates and "just win". */ -#include <string> #include "config.h" +#define INCLUDE_STRING #include "system.h" #include "coretypes.h" #include "cp-tree.h" |