Skip to content

Commit

Permalink
tiling: Remove unused member variable from crop stage
Browse files Browse the repository at this point in the history
Also mark functions as override to keep clang happy.

Signed-off-by: Naushir Patuck <[email protected]>
  • Loading branch information
naushir committed Jul 25, 2024
1 parent e2d05d7 commit aa767dd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/libpisp/backend/tiling/crop_stage.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ class CropStage : public BasicStage
};
CropStage(char const *name, Stage *upstream, Config const &config, int struct_offset);
virtual Length2 GetOutputImageSize() const;
virtual void PushStartUp(int output_start, Dir dir);
virtual int PushEndDown(int input_end, Dir dir);
virtual void PushEndUp(int output_end, Dir dir);
virtual void PushCropDown(Interval interval, Dir dir);
virtual void PushStartUp(int output_start, Dir dir) override;
virtual int PushEndDown(int input_end, Dir dir) override;
virtual void PushEndUp(int output_end, Dir dir) override;
virtual void PushCropDown(Interval interval, Dir dir) override;
bool BranchInactive() const override;

private:
Config config_;
bool started_;
};

} // namespace tiling

0 comments on commit aa767dd

Please sign in to comment.