BillyONeal created this revision.
BillyONeal added reviewers: mclow.lists, EricWF.

https://reviews.llvm.org/D50551

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


Index: test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp
===================================================================
--- test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp
+++ 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"
Index: test/std/containers/associative/map/map.access/at.pass.cpp
===================================================================
--- test/std/containers/associative/map/map.access/at.pass.cpp
+++ 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"


Index: test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp
===================================================================
--- test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp
+++ 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"
Index: test/std/containers/associative/map/map.access/at.pass.cpp
===================================================================
--- test/std/containers/associative/map/map.access/at.pass.cpp
+++ 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"
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to