From d7d58b98d9dfe429a18e675fa5a0f837fdcfcb9e Mon Sep 17 00:00:00 2001 From: Ben Hymers Date: Fri, 26 Feb 2016 08:41:17 +0000 Subject: [PATCH] Fix ReSharper warnings: remove unused methods --- DetourTileCache/Source/DetourTileCacheBuilder.cpp | 2 -- Recast/Include/RecastAlloc.h | 1 - RecastDemo/Include/CrowdTool.h | 3 --- 3 files changed, 6 deletions(-) diff --git a/DetourTileCache/Source/DetourTileCacheBuilder.cpp b/DetourTileCache/Source/DetourTileCacheBuilder.cpp index 2c82cf0..62a3b04 100644 --- a/DetourTileCache/Source/DetourTileCacheBuilder.cpp +++ b/DetourTileCache/Source/DetourTileCacheBuilder.cpp @@ -29,9 +29,7 @@ template class dtFixedArray dtTileCacheAlloc* m_alloc; T* m_ptr; const int m_size; - inline T* operator=(T* p); inline void operator=(dtFixedArray& p); - inline dtFixedArray(); public: 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); } diff --git a/Recast/Include/RecastAlloc.h b/Recast/Include/RecastAlloc.h index f1608fb..3cdd450 100644 --- a/Recast/Include/RecastAlloc.h +++ b/Recast/Include/RecastAlloc.h @@ -123,7 +123,6 @@ public: template class rcScopedDelete { T* ptr; - inline T* operator=(T* p); public: /// Constructs an instance with a null pointer. diff --git a/RecastDemo/Include/CrowdTool.h b/RecastDemo/Include/CrowdTool.h index 060d63c..8c170ef 100644 --- a/RecastDemo/Include/CrowdTool.h +++ b/RecastDemo/Include/CrowdTool.h @@ -126,9 +126,6 @@ class CrowdTool : public SampleTool }; ToolMode m_mode; - void updateAgentParams(); - void updateTick(const float dt); - public: CrowdTool();