Skip to content

Commit

Permalink
Make Activation move-able like its parent, BaseActivation.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 668676035
  • Loading branch information
CEL Dev Team authored and copybara-github committed Aug 29, 2024
1 parent 7b8b687 commit 5340cdb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eval/public/activation.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ class Activation : public BaseActivation {
Activation(const Activation&) = delete;
Activation& operator=(const Activation&) = delete;

// Move-constructible/move-assignable
Activation(Activation&& other) = default;
Activation& operator=(Activation&& other) = default;

// BaseActivation
std::vector<const CelFunction*> FindFunctionOverloads(
absl::string_view name) const override;
Expand Down

0 comments on commit 5340cdb

Please sign in to comment.