From 1a6b95740167455c803bdc52088f9ae18e1ff6be Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Wed, 14 Oct 2015 20:44:18 +0200 Subject: [PATCH] Fix const-ness of a function parameter * include/abg-fwd.h (is_function_decl): Add a const to the parameter to make it comply with the definition in abg-ir.cc. Woops. Signed-off-by: Dodji Seketeli --- include/abg-fwd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/abg-fwd.h b/include/abg-fwd.h index a149fe6a..a6b02bc3 100644 --- a/include/abg-fwd.h +++ b/include/abg-fwd.h @@ -174,7 +174,7 @@ bool is_template_parameter(const shared_ptr); function_decl* -is_function_decl(decl_base*); +is_function_decl(const decl_base*); shared_ptr is_function_decl(shared_ptr);