From be0906c6537350ec8e879a9c25c7b47a400a4d8a Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Mon, 11 May 2020 16:41:24 +0200 Subject: [PATCH] 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 --- bindings/cxx/gpiod.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2