*/
class BuildGraph
{
-public:
- typedef std::map<std::string, Target *> TargetMap;
-
private:
Builder &builder;
- TargetMap targets;
+ std::map<std::string, Target *> targets;
Target *goals;
public:
/** Looks up a target by name. Returns 0 if no such target exists. */
Target *get_target(const std::string &) const;
- const TargetMap &get_targets() const { return targets; }
+ const std::map<std::string, Target *> &get_targets() const { return targets; }
/** Adds a target. It can later be retrieved by name. Called from Target
constructor. */