Skip to content

Commit

Permalink
build fix (VowpalWabbit#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
ataymano authored Jan 24, 2019
1 parent 6245ffc commit 45d51c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rlclientlib/live_model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ namespace reinforcement_learning
live_model::~live_model() = default;

live_model& live_model::operator=(live_model&& other) {
std::swap(_pimpl, other._pimpl);
_initialized = other._initialized;
std::swap(_pimpl, other._pimpl);
_initialized = other._initialized;
return *this;
}
int live_model::init(api_status* status) {
if (_initialized)
Expand Down

0 comments on commit 45d51c2

Please sign in to comment.