Skip to content

Commit

Permalink
Remove unused method.
Browse files Browse the repository at this point in the history
  • Loading branch information
dillof committed Apr 27, 2024
1 parent 87a5b82 commit 620bae6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/FilenameVariable.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class FilenameVariable : public Variable {

void resolve_sub(const ResolveContext& context) override {value.resolve(context);}
void print_definition(std::ostream& stream) const override;
void print_use(std::ostream& stream) const override {} // TODO
[[nodiscard]] std::string string() const override {return value.string();}
void collect_filenames(std::vector<Filename>& collector) const {return value.collect_filenames(collector);}

Expand Down
1 change: 0 additions & 1 deletion src/TextVariable.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class TextVariable: public Variable {

void resolve_sub(const ResolveContext& scope) override;
void print_definition(std::ostream& stream) const override;
void print_use(std::ostream& stream) const override {} // TODO
[[nodiscard]] std::string string() const override {return value.string();}

private:
Expand Down
1 change: 0 additions & 1 deletion src/Variable.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ class Variable {
void resolve(const ResolveContext& context);
virtual void resolve_sub(const ResolveContext& context) = 0;
virtual void print_definition(std::ostream& stream) const = 0;
virtual void print_use(std::ostream& stream) const = 0;
[[nodiscard]] virtual std::string string() const = 0;

std::string name;
Expand Down

0 comments on commit 620bae6

Please sign in to comment.