Skip to content

Commit

Permalink
suppress warnings in testharnress
Browse files Browse the repository at this point in the history
  • Loading branch information
taku910 committed Feb 19, 2024
1 parent 4a3cd1c commit 17d7580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/testharness.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,12 @@ std::vector<T> ValuesIn(const std::vector<T> &v) {
std::vector<base::ParamType> TCONCAT(base, _get_params_, base)(); \
class TCONCAT(base, _Test_p_, name) : public base { \
public: \
const std::vector<ParamType> GetParams() const { \
std::vector<ParamType> GetParams() const { \
return TCONCAT(base, _get_params_, base)(); \
} \
ParamType param_; \
void SetParam(const ParamType &param) { param_ = param; } \
const ParamType GetParam() { return param_; } \
ParamType GetParam() const { return param_; } \
void _Run(); \
static void _RunIt() { \
TCONCAT(base, _Test_p_, name) t; \
Expand Down

0 comments on commit 17d7580

Please sign in to comment.