bindings: cxx: examples: consistently use () for functions taking no args
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 26 Jun 2023 10:36:03 +0000 (12:36 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 27 Jun 2023 08:48:09 +0000 (10:48 +0200)
commit753c33142f450f1fae60ae9a74b9c5b499be5ae0
tree9f9d6a0da378b453d5aee99f0818eb2f23cff1d0
parent370bf6825d2750b8328d0d1aeeb8075c2edb174c
bindings: cxx: examples: consistently use () for functions taking no args

While () and (void) are synonymous in C++, we use () everywhere else so
stick to that pattern in examples.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
13 files changed:
bindings/cxx/examples/async_watch_line_value.cpp
bindings/cxx/examples/find_line_by_name.cpp
bindings/cxx/examples/get_chip_info.cpp
bindings/cxx/examples/get_line_info.cpp
bindings/cxx/examples/get_line_value.cpp
bindings/cxx/examples/get_multiple_line_values.cpp
bindings/cxx/examples/reconfigure_input_to_output.cpp
bindings/cxx/examples/toggle_line_value.cpp
bindings/cxx/examples/toggle_multiple_line_values.cpp
bindings/cxx/examples/watch_line_info.cpp
bindings/cxx/examples/watch_line_rising.cpp
bindings/cxx/examples/watch_line_value.cpp
bindings/cxx/examples/watch_multiple_line_values.cpp