diff --git a/src/BeamAdapter/component/controller/AdaptiveBeamController.cpp b/src/BeamAdapter/component/controller/AdaptiveBeamController.cpp index 8a2c10a7..d4094b39 100644 --- a/src/BeamAdapter/component/controller/AdaptiveBeamController.cpp +++ b/src/BeamAdapter/component/controller/AdaptiveBeamController.cpp @@ -34,18 +34,16 @@ #define SOFA_PLUGIN_BEAMADAPTER_ADAPTIVEBEAMCONTROLLER_CPP //////////////////////// Inclusion of headers...from wider to narrower/closer ////////////////////// +#include #include #include #include -#include #include - -namespace sofa::component::controller::_adaptivebeamcontroller_ +namespace sofa::component::controller { -using sofa::defaulttype::Rigid3Types; using sofa::defaulttype::Rigid3Types; using core::RegisterObject; @@ -58,13 +56,13 @@ using core::RegisterObject; //////////////////////////////////////////////////////////////////////////////////////////////////// //TODO(dmarchal 2017-06-01): Il faut remplacer les descriptions dans RegisterObject par un vrai description -static int AdaptiveBeamControllerClass = RegisterObject("Adaptive beam controller") +int AdaptiveBeamControllerClass = RegisterObject("Adaptive beam controller") .add< AdaptiveBeamController >() ; template class SOFA_BEAMADAPTER_API AdaptiveBeamController; -} // namespace sofa::component::controller::_adaptivebeamcontroller_ +} // namespace sofa::component::controller diff --git a/src/BeamAdapter/component/controller/AdaptiveBeamController.h b/src/BeamAdapter/component/controller/AdaptiveBeamController.h index a6252580..7d8bb3c3 100644 --- a/src/BeamAdapter/component/controller/AdaptiveBeamController.h +++ b/src/BeamAdapter/component/controller/AdaptiveBeamController.h @@ -43,6 +43,7 @@ #include #include #include +#include //////////////////////////////////////////////////////////////////////////////////////////////////// /// Declarations