We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d232bdb commit 6dc155eCopy full SHA for 6dc155e
cpp/gerber/src/parser.cpp
@@ -28,7 +28,7 @@ namespace gerber {
28
29
// In gerber usually each command is in a new line, so this can be
30
// a good guess for our initial size of a vector.
31
- auto line_count = std::ranges::count(full_source, '\n');
+ auto line_count = std::count(full_source.begin(), full_source.end(), '\n');
32
commands.clear();
33
commands.reserve(line_count);
34
0 commit comments