Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
fix const
Browse files Browse the repository at this point in the history
  • Loading branch information
shueja committed Nov 15, 2023
1 parent 7e56d4b commit 839f91e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust/include/trajoptlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class SwervePathBuilderImpl {
double radius);

HolonomicTrajectory generate() const;
void cancel_all();
void cancel_all() const;

SwervePathBuilderImpl() = default;

Expand Down
2 changes: 1 addition & 1 deletion rust/src/trajoptlib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ std::unique_ptr<SwervePathBuilderImpl> new_swerve_path_builder_impl() {
return std::make_unique<SwervePathBuilderImpl>(SwervePathBuilderImpl());
}

void SwervePathBuilderImpl::cancel_all() {
void SwervePathBuilderImpl::cancel_all() const {
path.CancelAll();
}
}

0 comments on commit 839f91e

Please sign in to comment.