diff options
author | Billy Robert O'Neal III <bion@microsoft.com> | 2018-10-19 23:49:15 +0000 |
---|---|---|
committer | Billy Robert O'Neal III <bion@microsoft.com> | 2018-10-19 23:49:15 +0000 |
commit | 1fc51f29d7443be52edaf17145a9608368a7154d (patch) | |
tree | 8600bf044e3cedd99fc1e91c7bf46b21ac6492bb | |
parent | e04704b9a97a53733b5c3dc43271476d9670e432 (diff) | |
download | bcm5719-llvm-1fc51f29d7443be52edaf17145a9608368a7154d.tar.gz bcm5719-llvm-1fc51f29d7443be52edaf17145a9608368a7154d.zip |
[libcxx] [test] Add missing <stdexcept> to map at tests.
Reviewed as https://reviews.llvm.org/D50551
llvm-svn: 344821
-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" |