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 1904ed4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/libpisp/backend/tiling/crop_stage.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,15 @@ class CropStage : public BasicStage
Interval2 crop;
};
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 Length2 GetOutputImageSize() const override;
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 1904ed4

Please sign in to comment.