bindings: cxx: fix the return value of line_bulk::find_lines()
authorBartosz Golaszewski <bartekgola@gmail.com>
Sun, 13 May 2018 21:34:38 +0000 (23:34 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 14 May 2018 10:01:13 +0000 (12:01 +0200)
commit6610e5304844fa20ff9a6246f4aa9cb61a10b6a1
treecdacefda5aa8a622d2b2193220effad8000985fa
parent27fec345ca2597f16b1be4962d4a0794b64cb45f
bindings: cxx: fix the return value of line_bulk::find_lines()

We should return an invalid line_bulk object if we failed to look up at
least one line from the provided list of names.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
bindings/cxx/chip.cpp
bindings/cxx/examples/gpiod_cxx_tests.cpp