Skip to content
Snippets Groups Projects
Unverified Commit 3817bfdc authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[string] fix silencing of unused variable

parent 561aa25d
No related branches found
No related tags found
No related merge requests found
......@@ -130,8 +130,9 @@ std::string whitespaceify(const T& t, const char whitespace = ' ')
{
const std::string s = to_string(t);
std::string ret = "";
for (auto DXTC_UNUSED(ii) : value_range(s.size())) {
for (auto ii : value_range(s.size())) {
ret += whitespace;
(void)ii;
}
return ret;
} // ... whitespaceify(...)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment