[libcxx] [test] Add missing <stdexcept> to map at tests.
authorBilly Robert O'Neal III <bion@microsoft.com>
Fri, 19 Oct 2018 23:49:15 +0000 (23:49 +0000)
committerBilly Robert O'Neal III <bion@microsoft.com>
Fri, 19 Oct 2018 23:49:15 +0000 (23:49 +0000)
Reviewed as https://reviews.llvm.org/D50551

llvm-svn: 344821

libcxx/test/std/containers/associative/map/map.access/at.pass.cpp
libcxx/test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp

index 5822706..76eda04 100644 (file)
@@ -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"
index e526b65..a17c49d 100644 (file)
 // 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"