We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 42c7d1b + ea339f1 commit da0aba7Copy full SHA for da0aba7
eval/public/base_activation.h
@@ -21,6 +21,10 @@ class BaseActivation {
21
BaseActivation(const BaseActivation&) = delete;
22
BaseActivation& operator=(const BaseActivation&) = delete;
23
24
+ // Move-constructible/move-assignable
25
+ BaseActivation(BaseActivation&& other) = default;
26
+ BaseActivation& operator=(BaseActivation&& other) = default;
27
+
28
// Return a list of function overloads for the given name.
29
virtual std::vector<const CelFunction*> FindFunctionOverloads(
30
absl::string_view) const = 0;
@@ -49,7 +53,7 @@ class BaseActivation {
49
53
return *empty;
50
54
}
51
55
52
- virtual ~BaseActivation() {}
56
+ virtual ~BaseActivation() = default;
57
};
58
59
} // namespace google::api::expr::runtime
0 commit comments