]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Include traits.h in function-view.h
authorTom Tromey <tromey@adacore.com>
Wed, 29 Apr 2026 18:34:13 +0000 (12:34 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 29 Apr 2026 18:36:34 +0000 (12:36 -0600)
function-view.h uses gdb::Or but does not include gdbsupport/traits.h.
This patch corrects the oversight.

gdbsupport/function-view.h

index a5beedf41e8d81559f979773d41302a46b6d3d1f..5a73f9e948e101fa63689d6f11a5e6f76132d4b0 100644 (file)
   unittests/function-view-selftests.c.  */
 
 #include <type_traits>
+#include "gdbsupport/traits.h"
+
 namespace gdb {
 
 namespace fv_detail {