Skip to content

Commit 039473e

Browse files
Fix indentation in value_sett output
The character and size arguments where inverted. The constructor used is `string (size_t n, char c);` the order can be confusing because there is also a `string (const char* s, size_t n);` constructor.
1 parent 2a1c22b commit 039473e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pointer-analysis/value_set.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ void value_sett::output(std::ostream &out, const std::string &indent) const
211211
{
212212
out << ", ";
213213
if(width >= 40)
214-
out << "\n" << std::string(' ', indent.size()) << " ";
214+
out << "\n" << std::string(indent.size(), ' ') << " ";
215215
}
216216
}
217217

0 commit comments

Comments
 (0)