Accept 0 as a feature ID in --use-attribute-for-id

strip_zeroes() removed every leading zero, so "0" became "" and never
matched std::to_string(0). The ID was rejected as too large and the
feature was left without an ID. Keep the final digit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172RxhnHkNgRZ3NBrsRJZYK
This commit is contained in:
Claude
2026-09-26 17:33:51 +00:00
parent 4f2621186a
commit 0dd272824d
11 changed files with 61 additions and 23 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#ifndef VERSION_HPP
#define VERSION_HPP
#define VERSION "v2.82.0"
#define VERSION "v2.82.1"
#endif