diff options
author | Kenneth Heafield <github@kheafield.com> | 2012-09-13 04:04:17 -0700 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2012-09-13 04:04:17 -0700 |
commit | 8d0baa1dfb5c18f5be45b4d12b3f925dc04afc48 (patch) | |
tree | af96b81bfa50321d36a02bc036eabfeb29c32538 /klm/search/config.hh | |
parent | a548c46f3d636093d26f44d5b7642c98def6f351 (diff) | |
parent | 816f33174b2c2938a3df9c75b2834da6f5184a3e (diff) |
Merge branch 'master' of github.com:kpu/cdec
Diffstat (limited to 'klm/search/config.hh')
-rw-r--r-- | klm/search/config.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/klm/search/config.hh b/klm/search/config.hh index e21e4b7c..ef8e2354 100644 --- a/klm/search/config.hh +++ b/klm/search/config.hh @@ -8,15 +8,15 @@ namespace search { class Config { public: - Config(StringPiece weight_str, unsigned int pop_limit) : - weights_(weight_str), pop_limit_(pop_limit) {} + Config(const Weights &weights, unsigned int pop_limit) : + weights_(weights), pop_limit_(pop_limit) {} const Weights &GetWeights() const { return weights_; } unsigned int PopLimit() const { return pop_limit_; } private: - search::Weights weights_; + Weights weights_; unsigned int pop_limit_; }; |