bindings: cxx: fix the forward declaration for line_event
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 11 May 2020 14:41:24 +0000 (16:41 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 11 May 2020 14:41:49 +0000 (16:41 +0200)
line_event is defined as a struct, not a class. Fix the forward
declaration for consistency.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
bindings/cxx/gpiod.hpp

index 271e4446e18f912ecedf0de4cb6c916bd1644fa0..5155bdde8aab68161306e810571bc24f048990f4 100644 (file)
@@ -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