diff --git a/src/factory/printer.cpp b/src/factory/printer.cpp index 3059104..964ff8d 100644 --- a/src/factory/printer.cpp +++ b/src/factory/printer.cpp @@ -31,8 +31,9 @@ std::ostream& operator<<(std::ostream& os, indent_level const& indent) std::ostream& operator<<(std::ostream& os, indent const&) { long il = indent_value(os); - std::size_t spaces = static_cast(il) * 4; - return os << string(spaces, ' '); + for(long i=0, spaces = il * 4; i