bindings: cxx: examples: reserve correct amount of space for offsets
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 10 Mar 2023 08:49:41 +0000 (09:49 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Sun, 12 Mar 2023 13:40:10 +0000 (14:40 +0100)
commit800868885331060e3c797488758c0cd89dfbe1ce
tree4cbf8a32ba153b2f424bf56acf4b84eae7302383
parent1dd855ae6b7a8dbe0386b15feecbf2a361264456
bindings: cxx: examples: reserve correct amount of space for offsets

In gpiomoncxx we only need to reserve space for (argc - 2) offsets.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/cxx/examples/gpiomoncxx.cpp