From 5c25b76c7263b2a8ac01c863e438592c6287758a Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 14 Jul 2012 16:26:58 +0300 Subject: [PATCH] Clean up some unused cruft --- source/builder.h | 3 --- source/sourcepackage.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/source/builder.h b/source/builder.h index 90380a6..4192fe7 100644 --- a/source/builder.h +++ b/source/builder.h @@ -22,7 +22,6 @@ class Config; class FileTarget; class Package; class SourcePackage; -class VirtualTarget; /** The main application class. Controls and owns everything. Rules the world. @@ -57,7 +56,6 @@ private: public: typedef std::map TargetMap; - typedef std::list TargetList; private: typedef std::map ProfileTemplateMap; @@ -127,7 +125,6 @@ public: /** Adds a target to both the target map and the new target queue. Called from Target constructor. */ void add_target(Target *); - void register_path(const Msp::FS::Path &, FileTarget *); void problem(const std::string &, const std::string &); diff --git a/source/sourcepackage.h b/source/sourcepackage.h index fa1492d..cd576fe 100644 --- a/source/sourcepackage.h +++ b/source/sourcepackage.h @@ -59,7 +59,6 @@ private: public: SourcePackage(Builder &, const std::string &, const Msp::FS::Path &); - const std::string &get_name() const { return name; } const std::string &get_version() const { return version; } const std::string &get_description() const { return description; } const Msp::FS::Path &get_source() const { return source; } @@ -68,7 +67,6 @@ public: const ComponentList &get_components() const { return components; } const Config &get_config() const { return config; } const BuildInfo &get_build_info() const { return build_info; } - const BuildInfo &get_exported_binfo() const { return export_binfo; } Builder &get_builder() const { return builder; } LibMode get_library_mode() const; -- 2.43.0