diff options
Diffstat (limited to 'third_party/abseil-cpp/absl/functional/function_ref.h')
-rw-r--r-- | third_party/abseil-cpp/absl/functional/function_ref.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/abseil-cpp/absl/functional/function_ref.h b/third_party/abseil-cpp/absl/functional/function_ref.h index 6e03ac2e04..5790a65251 100644 --- a/third_party/abseil-cpp/absl/functional/function_ref.h +++ b/third_party/abseil-cpp/absl/functional/function_ref.h @@ -122,6 +122,7 @@ class FunctionRef<R(Args...)> { // To help prevent subtle lifetime bugs, FunctionRef is not assignable. // Typically, it should only be used as an argument type. FunctionRef& operator=(const FunctionRef& rhs) = delete; + FunctionRef(const FunctionRef& rhs) = default; // Call the underlying object. R operator()(Args... args) const { |