diff options
Diffstat (limited to 'chromium/media/learning/impl/voting_ensemble.h')
-rw-r--r-- | chromium/media/learning/impl/voting_ensemble.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/media/learning/impl/voting_ensemble.h b/chromium/media/learning/impl/voting_ensemble.h index 7e0cba7b59a..0994e58a1c0 100644 --- a/chromium/media/learning/impl/voting_ensemble.h +++ b/chromium/media/learning/impl/voting_ensemble.h @@ -20,6 +20,10 @@ namespace learning { class COMPONENT_EXPORT(LEARNING_IMPL) VotingEnsemble : public Model { public: VotingEnsemble(std::vector<std::unique_ptr<Model>> models); + + VotingEnsemble(const VotingEnsemble&) = delete; + VotingEnsemble& operator=(const VotingEnsemble&) = delete; + ~VotingEnsemble() override; // Model @@ -27,8 +31,6 @@ class COMPONENT_EXPORT(LEARNING_IMPL) VotingEnsemble : public Model { private: std::vector<std::unique_ptr<Model>> models_; - - DISALLOW_COPY_AND_ASSIGN(VotingEnsemble); }; } // namespace learning |