From: Mikko Rasa Date: Sun, 14 Apr 2013 12:05:08 +0000 (+0300) Subject: Remove some useless member functions X-Git-Url: http://git.tdb.fi/?p=builder.git;a=commitdiff_plain;h=ac1f35e436dbe86f903dce2f49b002ff17f1ca50 Remove some useless member functions --- diff --git a/source/builder.h b/source/builder.h index 40df4ff..66194a2 100644 --- a/source/builder.h +++ b/source/builder.h @@ -90,7 +90,6 @@ public: PackageManager &get_package_manager() { return package_manager; } - const Msp::FS::Path &get_work_directory() const { return cwd; } const Architecture &get_current_arch() const { return *current_arch; } const Architecture &get_native_arch() const { return native_arch; } BuildGraph &get_build_graph() { return build_graph; } diff --git a/source/sourcepackage.h b/source/sourcepackage.h index 0254cb9..0866907 100644 --- a/source/sourcepackage.h +++ b/source/sourcepackage.h @@ -88,7 +88,6 @@ public: bool match_feature(const std::string &) const; void set_build_type(const BuildType &); const BuildInfo &get_build_info() const { return build_info; } - Builder &get_builder() const { return builder; } Cache &get_cache() const { return cache; } private: