summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/unord
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2018-12-18 23:19:00 +0000
committerMarshall Clow <mclow.lists@gmail.com>2018-12-18 23:19:00 +0000
commit5a127cdcbfae6f753b05d8cd1de8d8271f7d8a23 (patch)
tree625fd3366faad5285125ba9fde0905ca7bd81a65 /libcxx/test/std/containers/unord
parentcb67fad44a59cb783d2047a27ad387ed3ec2a466 (diff)
downloadbcm5719-llvm-5a127cdcbfae6f753b05d8cd1de8d8271f7d8a23.tar.gz
bcm5719-llvm-5a127cdcbfae6f753b05d8cd1de8d8271f7d8a23.zip
Portability fix: add missing includes and static_casts. Reviewed as https://reviews.llvm.org/D55777. Thanks to Andrey Maksimov for the patch.
llvm-svn: 349566
Diffstat (limited to 'libcxx/test/std/containers/unord')
-rw-r--r--libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/assign_copy.pass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/assign_copy.pass.cpp b/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/assign_copy.pass.cpp
index b793f093435..c6b92744e31 100644
--- a/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/assign_copy.pass.cpp
+++ b/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/assign_copy.pass.cpp
@@ -15,10 +15,12 @@
// unordered_map& operator=(const unordered_map& u);
+#include <algorithm>
#include <unordered_map>
#include <string>
#include <cassert>
#include <cfloat>
+#include <cmath>
#include <cstddef>
#include "test_macros.h"
OpenPOWER on IntegriCloud