From: Andrew Pinski Date: Fri, 22 Nov 2024 17:25:41 +0000 (-0800) Subject: test-art: Fix comment in types.h X-Git-Tag: basepoints/gcc-16~3952 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=76c202329458aad027ececc59d666e4995e3644e;p=thirdparty%2Fgcc.git test-art: Fix comment in types.h The comment references INCLUDE_MEMORY but the code actually checks INCLUDE_VECTOR. So fix up the comment to mention INCLUDE_VECTROR. Pushed as obvious. gcc/ChangeLog: * text-art/types.h: Fix comment. Signed-off-by: Andrew Pinski --- diff --git a/gcc/text-art/types.h b/gcc/text-art/types.h index 2b9f8b387c71..c741f77c25fa 100644 --- a/gcc/text-art/types.h +++ b/gcc/text-art/types.h @@ -23,7 +23,7 @@ along with GCC; see the file COPYING3. If not see /* This header uses std::vector, but can't be directly included due to issues with macros. Hence it must be included from - system.h by defining INCLUDE_MEMORY in any source file using it. */ + system.h by defining INCLUDE_VECTOR in any source file using it. */ #ifndef INCLUDE_VECTOR # error "You must define INCLUDE_VECTOR before including system.h to use text-art/types.h"