* [pushed] Include traits.h in function-view.h
@ 2026-04-29 18:38 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2026-04-29 18:38 UTC (permalink / raw)
To: gdb-patches; +Cc: Tom Tromey
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-29 18:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-29 18:38 [pushed] Include traits.h in function-view.h Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox