[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Move a constructor declaration
Ondrej Oprala <ooprala@redhat.com> a Ãcrit:
> * include/abg-ir.h (decl_base): Change the decl_base() declaration's
> visibility to private.
>
> Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
I have just applied this patch to master. The commit hash is 4ec793b.
Thanks!
> 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 464e6cc..8df7e36 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> priv_sptr;
>
> @@ -886,9 +889,6 @@ public:
> BINDING_WEAK
> };
>
> - // Forbidden
> - decl_base();
> -
> virtual void
> set_scope(scope_decl*);
--
Dodji