From: Mikko Rasa Date: Mon, 16 Jul 2012 22:26:07 +0000 (+0300) Subject: find_dependencies should not be public X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=93db1636eac4ded5d89555d4c7e06b2126c3e4b0;p=builder.git find_dependencies should not be public --- diff --git a/source/csourcefile.h b/source/csourcefile.h index 035f667..b83c0db 100644 --- a/source/csourcefile.h +++ b/source/csourcefile.h @@ -18,6 +18,7 @@ public: virtual const char *get_type() const { return "CSourceFile"; } const StringList &get_includes() const { return includes; } +private: virtual void find_dependencies(); }; diff --git a/source/objectfile.h b/source/objectfile.h index f6bded7..b04e630 100644 --- a/source/objectfile.h +++ b/source/objectfile.h @@ -22,9 +22,9 @@ public: virtual const char *get_type() const { return "ObjectFile"; } SourceFile &get_source() const { return source; } +private: virtual void find_dependencies(); -private: void find_dependencies(FileTarget *); };