From 663fd91d8f853faa182c8a18e237412d933f03d7 Mon Sep 17 00:00:00 2001 From: Joao Paulo Magalhaes Date: Tue, 24 Nov 2020 00:40:28 +0000 Subject: [PATCH] fix: include of iostream is now required on client code --- tests/exhaustive32.cpp | 4 ++-- tests/exhaustive32_64.cpp | 4 ++-- tests/exhaustive32_midpoint.cpp | 4 ++-- tests/long_exhaustive32.cpp | 4 ++-- tests/long_exhaustive32_64.cpp | 4 ++-- tests/long_random64.cpp | 2 +- tests/random64.cpp | 2 +- tests/random_string.cpp | 4 +++- tests/short_random_string.cpp | 3 ++- tests/string_test.cpp | 2 +- 10 files changed, 18 insertions(+), 15 deletions(-) diff --git a/tests/exhaustive32.cpp b/tests/exhaustive32.cpp index dd354d9..bcbce79 100644 --- a/tests/exhaustive32.cpp +++ b/tests/exhaustive32.cpp @@ -1,7 +1,7 @@ #include "fast_float/fast_float.h" - +#include #include #include @@ -56,4 +56,4 @@ int main() { std::cout << std::endl; std::cout << "all ok" << std::endl; return EXIT_SUCCESS; -} \ No newline at end of file +} diff --git a/tests/exhaustive32_64.cpp b/tests/exhaustive32_64.cpp index c0d6184..46a35b0 100644 --- a/tests/exhaustive32_64.cpp +++ b/tests/exhaustive32_64.cpp @@ -1,7 +1,7 @@ #include "fast_float/fast_float.h" - +#include #include #include @@ -70,4 +70,4 @@ int main() { std::cout << std::endl; std::cout << "all ok" << std::endl; return EXIT_SUCCESS; -} \ No newline at end of file +} diff --git a/tests/exhaustive32_midpoint.cpp b/tests/exhaustive32_midpoint.cpp index 72469cd..828655f 100644 --- a/tests/exhaustive32_midpoint.cpp +++ b/tests/exhaustive32_midpoint.cpp @@ -1,6 +1,6 @@ #include "fast_float/fast_float.h" - +#include #include #include @@ -119,4 +119,4 @@ int main() { std::cout << std::endl; std::cout << "all ok" << std::endl; return EXIT_SUCCESS; -} \ No newline at end of file +} diff --git a/tests/long_exhaustive32.cpp b/tests/long_exhaustive32.cpp index 916960c..19ea3f3 100644 --- a/tests/long_exhaustive32.cpp +++ b/tests/long_exhaustive32.cpp @@ -1,7 +1,7 @@ #include "fast_float/fast_float.h" - +#include #include #include @@ -57,4 +57,4 @@ int main() { std::cout << std::endl; std::cout << "all ok" << std::endl; return EXIT_SUCCESS; -} \ No newline at end of file +} diff --git a/tests/long_exhaustive32_64.cpp b/tests/long_exhaustive32_64.cpp index 9185735..5f7dafd 100644 --- a/tests/long_exhaustive32_64.cpp +++ b/tests/long_exhaustive32_64.cpp @@ -1,6 +1,6 @@ #include "fast_float/fast_float.h" - +#include #include #include @@ -56,4 +56,4 @@ int main() { std::cout << std::endl; std::cout << "all ok" << std::endl; return EXIT_SUCCESS; -} \ No newline at end of file +} diff --git a/tests/long_random64.cpp b/tests/long_random64.cpp index 47c4d0c..38dce21 100644 --- a/tests/long_random64.cpp +++ b/tests/long_random64.cpp @@ -1,6 +1,6 @@ #include "fast_float/fast_float.h" - +#include #include #include diff --git a/tests/random64.cpp b/tests/random64.cpp index d169fbb..8d5c59d 100644 --- a/tests/random64.cpp +++ b/tests/random64.cpp @@ -1,6 +1,6 @@ #include "fast_float/fast_float.h" - +#include #include #include diff --git a/tests/random_string.cpp b/tests/random_string.cpp index a58a092..ed9fb6b 100644 --- a/tests/random_string.cpp +++ b/tests/random_string.cpp @@ -1,4 +1,6 @@ #include "fast_float/fast_float.h" + +#include #include #include @@ -212,4 +214,4 @@ int main() { } std::cout << "Failure." << std::endl; return EXIT_FAILURE; -} \ No newline at end of file +} diff --git a/tests/short_random_string.cpp b/tests/short_random_string.cpp index 0d317b6..9bec659 100644 --- a/tests/short_random_string.cpp +++ b/tests/short_random_string.cpp @@ -1,4 +1,5 @@ #include "fast_float/fast_float.h" +#include #include #include @@ -208,4 +209,4 @@ int main() { } std::cout << "Failure." << std::endl; return EXIT_FAILURE; -} \ No newline at end of file +} diff --git a/tests/string_test.cpp b/tests/string_test.cpp index a6f47e0..ebc4b35 100644 --- a/tests/string_test.cpp +++ b/tests/string_test.cpp @@ -1,5 +1,5 @@ #include "fast_float/fast_float.h" - +#include #include #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(sun) || defined(__sun)