diff --git a/src/Menge/MengeCore/BFSM/Goals/Goal.h b/src/Menge/MengeCore/BFSM/Goals/Goal.h index e7f1a472..eea96fb2 100644 --- a/src/Menge/MengeCore/BFSM/Goals/Goal.h +++ b/src/Menge/MengeCore/BFSM/Goals/Goal.h @@ -200,7 +200,7 @@ namespace Menge { * * @param geometry The geometry for this goal; the goal takes ownership. */ - inline void setGeometry( Math::Geometry2D * geometry ); + void setGeometry( Math::Geometry2D * geometry ); /*! * @brief Sets this goal's goal set. diff --git a/src/Menge/MengeCore/Math/Geometry2D.h b/src/Menge/MengeCore/Math/Geometry2D.h index 6ee237f9..499dfe04 100644 --- a/src/Menge/MengeCore/Math/Geometry2D.h +++ b/src/Menge/MengeCore/Math/Geometry2D.h @@ -504,7 +504,7 @@ namespace Menge { * * @returns The box size. */ - const Vector2 & getSize() const { return _maxPt - _minPt; } + const Vector2 getSize() const { return _maxPt - _minPt; } /*! * @brief Reports the box's maximal point (in x & y directions). diff --git a/src/Menge/MengeCore/resources/Graph.cpp b/src/Menge/MengeCore/resources/Graph.cpp index f23d7275..38914b4c 100644 --- a/src/Menge/MengeCore/resources/Graph.cpp +++ b/src/Menge/MengeCore/resources/Graph.cpp @@ -135,7 +135,7 @@ namespace Menge { logger << Logger::ERR_MSG << "Error parsing roadmap: format error for edge " << ( e + 1 ) << ".\n"; delete [] vertNbr; graph->destroy(); - return false; + return 0x0; } edge.setDistance( graph->_vertices[ from ].getDistance( graph->_vertices[ to ] ) ); edge.setNeighbor( &graph->_vertices[ to ] ); @@ -344,4 +344,4 @@ namespace Menge { ////////////////////////////////////////////////////////////////////////////////////// -} // namespace Menge \ No newline at end of file +} // namespace Menge