diff options
| author | Thomas Schmucker <ts@its1.de> | 2025-10-23 19:36:55 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2025-10-23 19:36:55 +0200 |
| commit | 00aba02378ac8be31eb00ee61a8f45997b2d74c0 (patch) | |
| tree | 5c33ff34e2c6c92a40a8403795404ad12eb6f7b5 /2016/src/day04.cpp | |
| parent | ae1e96f10b399266825e275ca4a8100ceede9cad (diff) | |
| download | advent-of-code-00aba02378ac8be31eb00ee61a8f45997b2d74c0.tar.gz advent-of-code-00aba02378ac8be31eb00ee61a8f45997b2d74c0.tar.bz2 advent-of-code-00aba02378ac8be31eb00ee61a8f45997b2d74c0.zip | |
fix: use string for filenames
Diffstat (limited to '2016/src/day04.cpp')
| -rw-r--r-- | 2016/src/day04.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | vector<tuple<vector<string>, long, string>> | 19 | vector<tuple<vector<string>, long, string>> |
| 20 | read_file(string_view filename) | 20 | read_file(const string& filename) |
| 21 | { | 21 | { |
| 22 | fstream input{ filename }; | 22 | fstream input{ filename }; |
| 23 | 23 | ||
