From 0c844aa143920c11df55dbc5a0562014e743e6b4 Mon Sep 17 00:00:00 2001 From: seleznevae Date: Sun, 8 Apr 2018 17:21:52 +0300 Subject: [PATCH] [F] Fixed compilation error for old compilers --- include/fort.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fort.hpp b/include/fort.hpp index 5ad8e20..77b988b 100644 --- a/include/fort.hpp +++ b/include/fort.hpp @@ -57,7 +57,7 @@ public: stream << arg; if (stream.tellp()) { ft_nwrite(table, 1, stream.str().c_str()); - stream = std::stringstream{}; + stream.str(std::string()); } return *this; }