diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2018-12-18 23:19:00 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2018-12-18 23:19:00 +0000 |
commit | 5a127cdcbfae6f753b05d8cd1de8d8271f7d8a23 (patch) | |
tree | 625fd3366faad5285125ba9fde0905ca7bd81a65 /libcxx/test/std/strings/string.conversions/to_wstring.pass.cpp | |
parent | cb67fad44a59cb783d2047a27ad387ed3ec2a466 (diff) | |
download | bcm5719-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/strings/string.conversions/to_wstring.pass.cpp')
-rw-r--r-- | libcxx/test/std/strings/string.conversions/to_wstring.pass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/std/strings/string.conversions/to_wstring.pass.cpp b/libcxx/test/std/strings/string.conversions/to_wstring.pass.cpp index 281aa1a5e79..2208ec5a312 100644 --- a/libcxx/test/std/strings/string.conversions/to_wstring.pass.cpp +++ b/libcxx/test/std/strings/string.conversions/to_wstring.pass.cpp @@ -19,6 +19,7 @@ // wstring to_wstring(double val); // wstring to_wstring(long double val); +#include <limits> #include <string> #include <cassert> #include <sstream> |