diff options
author | Michael Klimenko <mklimenko29@gmail.com> | 2024-01-27 15:25:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-27 15:25:55 +0100 |
commit | 35a2ee914308c85ab5cb576467381443ad23f0ac (patch) | |
tree | 72bd27fadddae5c8b82facf57373234822f574fc /examples/infill/infill.cpp | |
parent | ec903c034131848da9222536ff18da07ec0882a0 (diff) |
Remove unused data and add fixes (#5154)
* Remove unused data and add fixes
* Add missing file
* Address review comments
* Replace the scope of vq allocation
Diffstat (limited to 'examples/infill/infill.cpp')
-rw-r--r-- | examples/infill/infill.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/infill/infill.cpp b/examples/infill/infill.cpp index 4a782787..72fb133b 100644 --- a/examples/infill/infill.cpp +++ b/examples/infill/infill.cpp @@ -241,7 +241,7 @@ int main(int argc, char ** argv) { LOG("add_bos: %d\n", add_bos); bool suff_rm_leading_spc = params.escape; - if (suff_rm_leading_spc && params.input_suffix.find_first_of(" ") == 0 && params.input_suffix.size() > 1) { + if (suff_rm_leading_spc && params.input_suffix.find_first_of(' ') == 0 && params.input_suffix.size() > 1) { params.input_suffix.erase(0, 1); suff_rm_leading_spc = false; } |