diff options
-rw-r--r-- | libcxx/test/std/containers/associative/map/map.access/at.pass.cpp | 3 | ||||
-rw-r--r-- | libcxx/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/libcxx/test/std/containers/associative/map/map.access/at.pass.cpp b/libcxx/test/std/containers/associative/map/map.access/at.pass.cpp index 5822706fbfb..76eda046c0d 100644 --- a/libcxx/test/std/containers/associative/map/map.access/at.pass.cpp +++ b/libcxx/test/std/containers/associative/map/map.access/at.pass.cpp @@ -14,8 +14,9 @@ // mapped_type& at(const key_type& k); // const mapped_type& at(const key_type& k) const; -#include <map> #include <cassert> +#include <map> +#include <stdexcept> #include "min_allocator.h" #include "test_macros.h" diff --git a/libcxx/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp b/libcxx/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp index e526b654a19..a17c49d595d 100644 --- a/libcxx/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp +++ b/libcxx/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp @@ -16,9 +16,10 @@ // mapped_type& at(const key_type& k); // const mapped_type& at(const key_type& k) const; -#include <unordered_map> -#include <string> #include <cassert> +#include <stdexcept> +#include <string> +#include <unordered_map> #include "MoveOnly.h" #include "min_allocator.h" |