From 4ec793b9d064887c918adfdf8c0da2e2f911338a Mon Sep 17 00:00:00 2001 From: Ondrej Oprala Date: Tue, 29 Sep 2015 11:05:51 +0200 Subject: [PATCH] Move a constructor declaration * include/abg-ir.h (decl_base): Change the decl_base() declaration's visibility to private. Signed-off-by: Ondrej Oprala --- include/abg-ir.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/abg-ir.h b/include/abg-ir.h index 464e6cc7..8df7e368 100644 --- a/include/abg-ir.h +++ b/include/abg-ir.h @@ -847,6 +847,9 @@ set_environment_for_artifact(type_or_decl_base_sptr artifact, /// The base type of all declarations. class decl_base : public virtual type_or_decl_base { + // Forbidden + decl_base(); + struct priv; typedef shared_ptr priv_sptr; @@ -886,9 +889,6 @@ public: BINDING_WEAK }; - // Forbidden - decl_base(); - virtual void set_scope(scope_decl*);