]> git.tdb.fi Git - builder.git/blobdiff - source/target.h
Rename Target::get_rebuild to needs_rebuild
[builder.git] / source / target.h
index 2df56a4a49b9403fb5b5df87a43b6da1c0cf5d39..2c14ea1ae3064ef394e0bcff951dafddf8360b61 100644 (file)
@@ -67,7 +67,7 @@ public:
        const Tool *get_tool() const { return tool; }
 
        bool is_buildable() const { return tool!=0; }
-       bool get_rebuild() const { return rebuild; }
+       bool needs_rebuild() const { return rebuild; }
        const std::string &get_rebuild_reason() const { return rebuild_reason; }
        bool is_installable() const { return !install_location.empty(); }
        const std::string &get_install_location() const { return install_location; }