| Index: cc/output/filter_operations.cc
|
| diff --git a/cc/output/filter_operations.cc b/cc/output/filter_operations.cc
|
| index 00ec79f52c24c0d0576b94afff50cf4015b6d8d9..c4871f4827827744488d3fee0eff1c3f2649e85b 100644
|
| --- a/cc/output/filter_operations.cc
|
| +++ b/cc/output/filter_operations.cc
|
| @@ -21,6 +21,9 @@ FilterOperations::FilterOperations() {}
|
| FilterOperations::FilterOperations(const FilterOperations& other)
|
| : operations_(other.operations_) {}
|
|
|
| +FilterOperations::FilterOperations(std::vector<FilterOperation>&& operations)
|
| + : operations_(std::move(operations)) {}
|
| +
|
| FilterOperations::~FilterOperations() {}
|
|
|
| FilterOperations& FilterOperations::operator=(const FilterOperations& other) {
|
| @@ -28,6 +31,11 @@ FilterOperations& FilterOperations::operator=(const FilterOperations& other) {
|
| return *this;
|
| }
|
|
|
| +FilterOperations& FilterOperations::operator=(FilterOperations&& other) {
|
| + operations_ = std::move(other.operations_);
|
| + return *this;
|
| +}
|
| +
|
| bool FilterOperations::operator==(const FilterOperations& other) const {
|
| if (other.size() != size())
|
| return false;
|
|
|