From ba680096de2e813b00a4aa75687610619be6de24 Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Sat, 22 Feb 2020 22:32:16 -0500 Subject: [PATCH] Fix syntax --- include/boost/static_string/static_string.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/static_string/static_string.hpp b/include/boost/static_string/static_string.hpp index a977973..ea78cf9 100644 --- a/include/boost/static_string/static_string.hpp +++ b/include/boost/static_string/static_string.hpp @@ -559,7 +559,7 @@ to_static_wstring_float_impl(long double value) noexcept const int precision = N > reserved_count ? N - reserved_count : 0; std::cout << "pre: " << precision << '\n'; // switch to scientific notation - std::cout << "sci: " std::swprintf(buffer, N + 1, L"%.*Le", precision, value) << '\n'; + std::cout << "sci: " << std::swprintf(buffer, N + 1, L"%.*Le", precision, value) << '\n'; } // this will not throw return static_wstring(buffer);