mirror of
https://github.com/google/sentencepiece.git
synced 2024-12-29 11:11:58 +03:00
suppress warnings in testharnress
This commit is contained in:
parent
4a3cd1cbaf
commit
17d7580d64
@ -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 ¶m) { param_ = param; } \
|
||||
const ParamType GetParam() { return param_; } \
|
||||
ParamType GetParam() const { return param_; } \
|
||||
void _Run(); \
|
||||
static void _RunIt() { \
|
||||
TCONCAT(base, _Test_p_, name) t; \
|
||||
|
Loading…
Reference in New Issue
Block a user