From 91ac917bbc38760df5b64ddd90ed90f9d35457b1 Mon Sep 17 00:00:00 2001 From: hyperxor Date: Tue, 21 Jan 2020 08:19:53 +0300 Subject: [PATCH] fix passed parameters --- include/indicators/details/stream_helper.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/indicators/details/stream_helper.hpp b/include/indicators/details/stream_helper.hpp index c68346e..0f6472d 100644 --- a/include/indicators/details/stream_helper.hpp +++ b/include/indicators/details/stream_helper.hpp @@ -103,9 +103,9 @@ class ProgressScaleWriter public: ProgressScaleWriter(std::ostream& os, size_t bar_width, - std::string fill, - std::string lead, - std::string remainder) + const std::string& fill, + const std::string& lead, + const std::string& remainder) : os(os) , bar_width(bar_width) , fill(fill)