]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- removed unused constructor and initialization
authorArvin Schnell <aschnell@suse.de>
Thu, 18 Apr 2013 15:55:31 +0000 (17:55 +0200)
committerArvin Schnell <aschnell@suse.de>
Thu, 18 Apr 2013 15:55:31 +0000 (17:55 +0200)
snapper/XAttributes.cc
snapper/XAttributes.h

index 55234f846d4fd50e123029a7d1d790040d88d182..0bcfc407099942ef0690ac3adea1137acfba9641 100644 (file)
@@ -152,19 +152,9 @@ namespace snapper
         return out;
     }
 
-    XAModification::XAModification()
-    {
-       create_vec = xa_mod_vec_t();
-       delete_vec = xa_del_vec_t();
-       replace_vec = xa_mod_vec_t();
-    }
 
     XAModification::XAModification(const XAttributes& src_xa, const XAttributes& dest_xa)
     {
-       create_vec = xa_mod_vec_t();
-       delete_vec = xa_del_vec_t();
-       replace_vec = xa_mod_vec_t();
-
         xa_map_citer src_cit = src_xa.cbegin();
         xa_map_citer dest_cit = dest_xa.cbegin();
 
index ee2851a20b437a5afad8ba988f27123838cfcad0..bda88a062686c95dbd60bb3d7f3105242e6dbd7b 100644 (file)
@@ -38,9 +38,6 @@ namespace snapper
        using std::ostream;
        using std::vector;
 
-        class XAModification;
-        class XAttributes;
-
        typedef vector<uint8_t> xa_value_t;
        typedef map<string, xa_value_t> xa_map_t;
        typedef pair<string, xa_value_t> xa_pair_t;
@@ -76,7 +73,7 @@ namespace snapper
 
            void printTo(ostream&, bool) const;
         public:
-            XAModification();
+
             XAModification(const XAttributes&, const XAttributes&);
 
             bool isEmpty() const;