[libcxx-commits] [libcxx] d3933a5 - [libc++][test] Add missing include
Casey Carter via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jan 6 11:35:35 PST 2023
Author: Casey Carter
Date: 2023-01-06T11:35:26-08:00
New Revision: d3933a5d75c6998d44a43a921fe607485eb8e041
URL: https://github.com/llvm/llvm-project/commit/d3933a5d75c6998d44a43a921fe607485eb8e041
DIFF: https://github.com/llvm/llvm-project/commit/d3933a5d75c6998d44a43a921fe607485eb8e041.diff
LOG: [libc++][test] Add missing include
`std::out_of_range` is in `<stdexcept>`
Added:
Modified:
libcxx/test/std/strings/basic.string/string.cons/substr_rvalue.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/strings/basic.string/string.cons/substr_rvalue.pass.cpp b/libcxx/test/std/strings/basic.string/string.cons/substr_rvalue.pass.cpp
index 6a431be5cf851..272ce339f3adc 100644
--- a/libcxx/test/std/strings/basic.string/string.cons/substr_rvalue.pass.cpp
+++ b/libcxx/test/std/strings/basic.string/string.cons/substr_rvalue.pass.cpp
@@ -14,6 +14,7 @@
// constexpr basic_string(basic_string&& str, size_type pos, size_type n, const Allocator& a = Allocator());
#include <cassert>
+#include <stdexcept>
#include <string>
#include "constexpr_char_traits.h"
More information about the libcxx-commits
mailing list