Avoid including <string> directly.
authorMartin Sebor <msebor@redhat.com>
Tue, 27 Feb 2018 23:29:51 +0000 (23:29 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Tue, 27 Feb 2018 23:29:51 +0000 (16:29 -0700)
From-SVN: r258046

gcc/cp/ChangeLog
gcc/cp/pt.c

index 9b4dd033be4ee01e99910b999004fcb2430cd943..e5f98293c3253a4a15e05c8d57ab66749062d23b 100644 (file)
@@ -1,3 +1,7 @@
+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
index ae777db82fe1aac3d1d432650ae7fbbe9463a726..23eb2db1a5dab839104b7c0729d1bc16eda3e8a8 100644 (file)
@@ -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"