Skip to content

Commit 7bd394a

Browse files
committed
adds braces around if body
1 parent 445d734 commit 7bd394a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sliding_window.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class iter::impl::WindowSlider {
5555
while (i < window_sz && this->sub_iter != in_end) {
5656
this->window.get().push_back(this->sub_iter);
5757
++i;
58-
if (i != window_sz) ++this->sub_iter;
58+
if (i != window_sz) { ++this->sub_iter; }
5959
}
6060
}
6161

0 commit comments

Comments
 (0)