From: Bartosz Golaszewski Date: Mon, 11 May 2020 14:41:24 +0000 (+0200) Subject: bindings: cxx: fix the forward declaration for line_event X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=be0906c6537350ec8e879a9c25c7b47a400a4d8a;p=qemu-gpiodev%2Flibgpiod.git bindings: cxx: fix the forward declaration for line_event line_event is defined as a struct, not a class. Fix the forward declaration for consistency. Signed-off-by: Bartosz Golaszewski --- diff --git a/bindings/cxx/gpiod.hpp b/bindings/cxx/gpiod.hpp index 271e444..5155bdd 100644 --- a/bindings/cxx/gpiod.hpp +++ b/bindings/cxx/gpiod.hpp @@ -19,9 +19,9 @@ namespace gpiod { class line; class line_bulk; -class line_event; class line_iter; class chip_iter; +struct line_event; /** * @defgroup __gpiod_cxx__ C++ bindings