Skip to content

Commit

Permalink
clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
schaumb committed May 17, 2024
1 parent 299409a commit d5fead5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/chart/generator/axis.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ struct Axis

struct Axises : AbstractAxises<Axis>
{
Geom::Point origo() const;
[[nodiscard]] Geom::Point origo() const;
};

}
Expand Down
3 changes: 2 additions & 1 deletion src/chart/generator/plotbuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ class PlotBuilder
void clearEmptyBuckets(const Buckets &buckets, bool main) const;
void addSpecLayout(Buckets &buckets);

Math::Range<double> &getMeasTrackRange(ChannelId type) const;
[[nodiscard]] Math::Range<double> &getMeasTrackRange(
ChannelId type) const;
};
}

Expand Down

0 comments on commit d5fead5

Please sign in to comment.