]> sourceware.org Git - libabigail.git/commitdiff
Move a constructor declaration
authorOndrej Oprala <ooprala@redhat.com>
Tue, 29 Sep 2015 09:05:51 +0000 (11:05 +0200)
committerDodji Seketeli <dodji@redhat.com>
Tue, 29 Sep 2015 09:26:08 +0000 (11:26 +0200)
* include/abg-ir.h (decl_base): Change the decl_base() declaration's
visibility to private.

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
include/abg-ir.h

index 464e6cc70c4bdc48921570224869d0a3dd1fed8d..8df7e36843e0817b2f65ba393f34b3e704cb5dd5 100644 (file)
@@ -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*);
 
This page took 0.040993 seconds and 5 git commands to generate.