From 457eeffc60b298baf6b4cc691e6f1cfaa3127452 Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Sat, 7 Dec 2019 12:58:22 +0100
Subject: [PATCH] core: CollisionRequest is a struct

---
 include/hpp/fcl/BV/AABB.h   | 4 +++-
 include/hpp/fcl/BV/OBB.h    | 3 ++-
 include/hpp/fcl/BV/OBBRSS.h | 3 ++-
 include/hpp/fcl/BV/RSS.h    | 3 ++-
 include/hpp/fcl/BV/kDOP.h   | 2 +-
 include/hpp/fcl/BV/kIOS.h   | 3 ++-
 6 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/include/hpp/fcl/BV/AABB.h b/include/hpp/fcl/BV/AABB.h
index d1596ea6..d79f76fe 100644
--- a/include/hpp/fcl/BV/AABB.h
+++ b/include/hpp/fcl/BV/AABB.h
@@ -44,7 +44,9 @@ namespace hpp
 {
 namespace fcl
 {
-  class CollisionRequest;
+
+struct CollisionRequest;
+
 /// @defgroup Bounding_Volume 
 /// regroup class of differents types of bounding volume.
 /// @{
diff --git a/include/hpp/fcl/BV/OBB.h b/include/hpp/fcl/BV/OBB.h
index 32468de6..02a242ee 100644
--- a/include/hpp/fcl/BV/OBB.h
+++ b/include/hpp/fcl/BV/OBB.h
@@ -44,7 +44,8 @@ namespace hpp
 {
 namespace fcl
 {
-  class CollisionRequest;
+
+struct CollisionRequest;
 
 /// @addtogroup Bounding_Volume
 /// @{
diff --git a/include/hpp/fcl/BV/OBBRSS.h b/include/hpp/fcl/BV/OBBRSS.h
index def7ce67..e7ef5c7e 100644
--- a/include/hpp/fcl/BV/OBBRSS.h
+++ b/include/hpp/fcl/BV/OBBRSS.h
@@ -46,7 +46,8 @@ namespace hpp
 {
 namespace fcl
 {
-  class CollisionRequest;
+
+  struct CollisionRequest;
 
 /// @addtogroup Bounding_Volume
 /// @{
diff --git a/include/hpp/fcl/BV/RSS.h b/include/hpp/fcl/BV/RSS.h
index 5105445c..bca84378 100644
--- a/include/hpp/fcl/BV/RSS.h
+++ b/include/hpp/fcl/BV/RSS.h
@@ -46,7 +46,8 @@ namespace hpp
 namespace fcl
 {
 
-  class CollisionRequest;
+struct CollisionRequest;
+
 /// @addtogroup Bounding_Volume
 /// @{
 
diff --git a/include/hpp/fcl/BV/kDOP.h b/include/hpp/fcl/BV/kDOP.h
index 6a5c6aab..3293be71 100644
--- a/include/hpp/fcl/BV/kDOP.h
+++ b/include/hpp/fcl/BV/kDOP.h
@@ -46,7 +46,7 @@ namespace hpp
 namespace fcl
 {
 
-  class CollisionRequest;
+struct CollisionRequest;
 
   /// @addtogroup Bounding_Volume
   /// @{
diff --git a/include/hpp/fcl/BV/kIOS.h b/include/hpp/fcl/BV/kIOS.h
index be1a4f0b..3ecad0cd 100644
--- a/include/hpp/fcl/BV/kIOS.h
+++ b/include/hpp/fcl/BV/kIOS.h
@@ -45,7 +45,8 @@ namespace hpp
 {
 namespace fcl
 {
-  class CollisionRequest;
+
+struct CollisionRequest;
 
 /// @addtogroup Bounding_Volume
 /// @{
-- 
GitLab