Some more CheckTriviallyCopyableMove fix

This commit is contained in:
HeenaBansal2009 2022-05-31 04:11:11 -07:00
parent 3976afa56a
commit 1823f736cc

View File

@ -619,7 +619,7 @@ private:
public:
explicit MarkovModel(MarkovModelParameters params_)
: params(std::move(params_)), code_points(params.order, BEGIN) {}
: params(params_), code_points(params.order, BEGIN) {}
void consume(const char * data, size_t size)
{
@ -830,7 +830,7 @@ private:
MarkovModel markov_model;
public:
StringModel(UInt64 seed_, MarkovModelParameters params_) : seed(seed_), markov_model(std::move(params_)) {}
StringModel(UInt64 seed_, MarkovModelParameters params_) : seed(seed_), markov_model(params_) {}
void train(const IColumn & column) override
{