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 c4d3f90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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
5 changes: 3 additions & 2 deletions src/chart/generator/plotbuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class PlotBuilder
{
public:
PlotBuilder(const Data::DataTable &dataTable,
const PlotOptionsPtr &opts,
const PlotOptionsPtr &options,
const Styles::Chart &style);

PlotPtr &&build() && { return std::move(plot); }
Expand Down 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 c4d3f90

Please sign in to comment.