diff --git a/src/libaevol/7/Dna_7.h b/src/libaevol/7/Dna_7.h
index 70ba87c8dc0505d04fc5025b6b37cc709465c0b5..cc6835784fac233d56ac6e273bda172dc7bf3aa8 100644
--- a/src/libaevol/7/Dna_7.h
+++ b/src/libaevol/7/Dna_7.h
@@ -52,9 +52,9 @@ class Dna_7 {
   friend class DnaFactory;
  protected:
   Dna_7(int length);
- public:
   ~Dna_7();
 
+ public:
     void set_indiv(Dna_7* dna, Individual_7* indiv);
     void set_indiv(Individual_7* indiv);
     void set_indiv(Dna* dna);