]> git.tdb.fi Git - builder.git/commitdiff
Make data members of Task protected
authorMikko Rasa <tdb@tdb.fi>
Tue, 20 Dec 2022 12:08:14 +0000 (14:08 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 20 Dec 2022 12:08:48 +0000 (14:08 +0200)
I'm not sure why they were public, maybe by accident.

source/task.h

index 183deee40e5c8d0b6b3b60455a2e3f14e933fdb5..0890007279518446e5ebae900be1422b6a84e2af 100644 (file)
@@ -22,10 +22,10 @@ public:
 
        sigc::signal<void, bool> signal_finished;
 
+protected:
        std::list<Msp::FS::Path> files;
        bool unlink;
 
-protected:
        Task();
 public:
        virtual ~Task() { }