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 560a14e
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() override const;
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 560a14e

Please sign in to comment.