aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index 35f9b0e..4b2683d 100644
--- a/src/common.h
+++ b/src/common.h
@@ -30,7 +30,8 @@ struct line_view {
line_view load_file(const char*);
line_view next_line(line_view, size_t*);
-template <typename F, typename... Args> void per_line(line_view file, F&& f, Args&&... args) {
+template <typename F, typename... Args>
+void per_line(line_view file, F&& f, Args&&... args) {
size_t offset = 0;
line_view lv;
do {