Skip to content

Commit

Permalink
Fixed VS2012 mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
pansk committed Nov 22, 2016
1 parent 8ff16f6 commit 6e065d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tiny_dnn/core/framework/tensor.h
Expand Up @@ -133,8 +133,8 @@ class Tensor {
#endif
data_is_on_host_ = other.data_is_on_host_;
data_dirty_ = other.data_dirty_;
return *this;
}

Tensor &operator = (Tensor&& other) {
shape_ = std::move(other.shape_);
host_data_ = std::move(other.host_data_);
Expand All @@ -143,6 +143,7 @@ class Tensor {
#endif
data_is_on_host_ = other.data_is_on_host_;
data_dirty_ = other.data_dirty_;
return *this;
}
#endif

Expand Down

0 comments on commit 6e065d9

Please sign in to comment.