remove msvc8 warnings

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@810 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2007-02-25 14:36:28 +00:00
parent e53177ef92
commit 4ab172fcf6
2 changed files with 8 additions and 1 deletions

View file

@ -409,6 +409,8 @@ namespace Loki
class EvictAging : public EvictionHelper< ST, DT >
{
private:
EvictAging(const EvictAging&);
EvictAging& operator=(const EvictAging&);
typedef EvictionHelper< ST, DT > EH;
typedef typename EH::HitMap HitMap;
typedef typename EH::HitMapItr HitMapItr;
@ -423,9 +425,12 @@ namespace Loki
D( std::cout << x.second << std::endl; )
}
const DT &key_;
updateCounter(const updateCounter& rhs) : key_(rhs.key_){}
private:
updateCounter& operator=(const updateCounter& rhs);
};
protected:
EvictAging(){}
virtual ~EvictAging(){}
// OnStore initialize the counter for the new key

View file

@ -188,6 +188,8 @@ namespace Loki
const char* name(){return "smart pointer";}
private:
SmartPointer& operator=(const SmartPointer&);
SmartPointer(const SmartPointer&);
void smartPointerCallbackFunction(void* pSP)
{
CallBackSP &SP(*reinterpret_cast<CallBackSP*>(pSP));