Fix isolated cases that violate gcc's -Wignored-qualifiers
This commit is contained in:
parent
7b065f5e0c
commit
7a2a4b24c1
@ -253,7 +253,7 @@ public:
|
||||
|
||||
/// The maximum number of agents that can be managed by the object.
|
||||
/// @return The maximum number of agents.
|
||||
const int getAgentCount() const;
|
||||
int getAgentCount() const;
|
||||
|
||||
/// Adds a new agent to the crowd.
|
||||
/// @param[in] pos The requested position of the agent. [(x, y, z)]
|
||||
|
@ -59,7 +59,7 @@ public:
|
||||
int getItemCountAt(const int x, const int y) const;
|
||||
|
||||
inline const int* getBounds() const { return m_bounds; }
|
||||
inline const float getCellSize() const { return m_cellSize; }
|
||||
inline float getCellSize() const { return m_cellSize; }
|
||||
};
|
||||
|
||||
dtProximityGrid* dtAllocProximityGrid();
|
||||
|
@ -474,7 +474,7 @@ const dtObstacleAvoidanceParams* dtCrowd::getObstacleAvoidanceParams(const int i
|
||||
return 0;
|
||||
}
|
||||
|
||||
const int dtCrowd::getAgentCount() const
|
||||
int dtCrowd::getAgentCount() const
|
||||
{
|
||||
return m_maxAgents;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user