From 93db1636eac4ded5d89555d4c7e06b2126c3e4b0 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 17 Jul 2012 01:26:07 +0300 Subject: [PATCH] find_dependencies should not be public --- source/csourcefile.h | 1 + source/objectfile.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 *); }; -- 2.45.2