summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-01-26 17:29:53 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-01-26 17:29:53 +0000
commitafe5723749d4ba06a4cb943f5abbf08c97bd6dc1 (patch)
treeb63e4e3bcb00cb8a5f08f8a8c3e0c3b5cd30a4f7
parentFix wrap/clamp settings on icon textures (diff)
downloadilt-afe5723749d4ba06a4cb943f5abbf08c97bd6dc1.tar.bz2
ilt-afe5723749d4ba06a4cb943f5abbf08c97bd6dc1.tar.xz
ilt-afe5723749d4ba06a4cb943f5abbf08c97bd6dc1.zip
Add missing braces
-rw-r--r--lib/stream_support.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stream_support.hpp b/lib/stream_support.hpp
index a3565d8..6a3c2cf 100644
--- a/lib/stream_support.hpp
+++ b/lib/stream_support.hpp
@@ -21,8 +21,9 @@ namespace std {
{
s << '(';
for (const auto & i : v) {
- if (&i != &v.front())
+ if (&i != &v.front()) {
s << ", ";
+ }
s << i;
}
return s << ')';