]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
test-art: Fix comment in types.h
authorAndrew Pinski <quic_apinski@quicinc.com>
Fri, 22 Nov 2024 17:25:41 +0000 (09:25 -0800)
committerAndrew Pinski <quic_apinski@quicinc.com>
Fri, 22 Nov 2024 21:13:57 +0000 (13:13 -0800)
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 <quic_apinski@quicinc.com>
gcc/text-art/types.h

index 2b9f8b387c71997f6f611fcffd697a9ee663d4ab..c741f77c25fa59b281dd282616269f3828f6668d 100644 (file)
@@ -23,7 +23,7 @@ along with GCC; see the file COPYING3.  If not see
 
 /* This header uses std::vector, but <vector> 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"