]> git.tdb.fi Git - libs/gl.git/blobdiff - source/builders/sequencetemplate.h
Use constructor delegation instead of init functions when possible
[libs/gl.git] / source / builders / sequencetemplate.h
index c49b2d43dfa95c8ea30a56c521863430f4332348..bf1e8be185e086efc6b3597139f827630e672536 100644 (file)
@@ -70,9 +70,10 @@ public:
                        std::string inline_base_name;
 
                public:
                        std::string inline_base_name;
 
                public:
-                       Loader(Step &);
-                       Loader(Step &, Collection &);
+                       Loader(Step &s): Loader(s, 0) { }
+                       Loader(Step &s, Collection &c): Loader(s, &c) { }
                private:
                private:
+                       Loader(Step &, Collection *);
                        void init();
 
                public:
                        void init();
 
                public: