Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tromey@adacore.com>
Subject: [pushed] Include traits.h in function-view.h
Date: Wed, 29 Apr 2026 12:38:50 -0600	[thread overview]
Message-ID: <20260429183850.2223752-1-tromey@adacore.com> (raw)

function-view.h uses gdb::Or but does not include gdbsupport/traits.h.
This patch corrects the oversight.
---
 gdbsupport/function-view.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gdbsupport/function-view.h b/gdbsupport/function-view.h
index a5beedf41e8..5a73f9e948e 100644
--- a/gdbsupport/function-view.h
+++ b/gdbsupport/function-view.h
@@ -193,6 +193,8 @@
   unittests/function-view-selftests.c.  */
 
 #include <type_traits>
+#include "gdbsupport/traits.h"
+
 namespace gdb {
 
 namespace fv_detail {

base-commit: 8a5e138e6276ce7644ab858751440cb59f35623b
-- 
2.53.0


                 reply	other threads:[~2026-04-29 18:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260429183850.2223752-1-tromey@adacore.com \
    --to=tromey@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox