Fix ReSharper warnings: remove unused methods

This commit is contained in:
Ben Hymers 2016-02-26 08:41:17 +00:00
parent a2730f9fdd
commit d7d58b98d9
3 changed files with 0 additions and 6 deletions

View File

@ -29,9 +29,7 @@ template<class T> class dtFixedArray
dtTileCacheAlloc* m_alloc; dtTileCacheAlloc* m_alloc;
T* m_ptr; T* m_ptr;
const int m_size; const int m_size;
inline T* operator=(T* p);
inline void operator=(dtFixedArray<T>& p); inline void operator=(dtFixedArray<T>& p);
inline dtFixedArray();
public: public:
inline dtFixedArray(dtTileCacheAlloc* a, const int s) : m_alloc(a), m_ptr((T*)a->alloc(sizeof(T)*s)), m_size(s) {} inline dtFixedArray(dtTileCacheAlloc* a, const int s) : m_alloc(a), m_ptr((T*)a->alloc(sizeof(T)*s)), m_size(s) {}
inline ~dtFixedArray() { if (m_alloc) m_alloc->free(m_ptr); } inline ~dtFixedArray() { if (m_alloc) m_alloc->free(m_ptr); }

View File

@ -123,7 +123,6 @@ public:
template<class T> class rcScopedDelete template<class T> class rcScopedDelete
{ {
T* ptr; T* ptr;
inline T* operator=(T* p);
public: public:
/// Constructs an instance with a null pointer. /// Constructs an instance with a null pointer.

View File

@ -126,9 +126,6 @@ class CrowdTool : public SampleTool
}; };
ToolMode m_mode; ToolMode m_mode;
void updateAgentParams();
void updateTick(const float dt);
public: public:
CrowdTool(); CrowdTool();