summaryrefslogtreecommitdiff
path: root/absl/functional/internal
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2023-03-20 08:05:04 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2023-03-20 08:05:52 -0700
commitf959f6ba970d9b2fef4fd2eb084668651dacf961 (patch)
treef079b220ee429c430f2e7a2ae64a2fedeffd3f2d /absl/functional/internal
parentefeb95f4491740817a1c37345b66d26bce722ae4 (diff)
Add missing #include <exception> for std::terminate
It was previously included transitively through some other header, but with recent libc++ versions that's no longer the case. PiperOrigin-RevId: 517969848 Change-Id: I83c5c1853ae27b64a53a75a0f2faead37a70c145
Diffstat (limited to 'absl/functional/internal')
-rw-r--r--absl/functional/internal/any_invocable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/absl/functional/internal/any_invocable.h b/absl/functional/internal/any_invocable.h
index 7845e17a..49a46c14 100644
--- a/absl/functional/internal/any_invocable.h
+++ b/absl/functional/internal/any_invocable.h
@@ -56,6 +56,7 @@
#include <cassert>
#include <cstddef>
#include <cstring>
+#include <exception>
#include <functional>
#include <initializer_list>
#include <memory>