From 00aba02378ac8be31eb00ee61a8f45997b2d74c0 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Thu, 23 Oct 2025 19:36:55 +0200 Subject: fix: use string for filenames --- 2016/src/day04.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '2016/src/day04.cpp') diff --git a/2016/src/day04.cpp b/2016/src/day04.cpp index 713b16f..e4c292b 100644 --- a/2016/src/day04.cpp +++ b/2016/src/day04.cpp @@ -17,7 +17,7 @@ split(const string& line, const regex& sep) } vector, long, string>> -read_file(string_view filename) +read_file(const string& filename) { fstream input{ filename }; -- cgit v1.3