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:
parent
e53177ef92
commit
4ab172fcf6
2 changed files with 8 additions and 1 deletions
|
@ -409,6 +409,8 @@ namespace Loki
|
||||||
class EvictAging : public EvictionHelper< ST, DT >
|
class EvictAging : public EvictionHelper< ST, DT >
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
EvictAging(const EvictAging&);
|
||||||
|
EvictAging& operator=(const EvictAging&);
|
||||||
typedef EvictionHelper< ST, DT > EH;
|
typedef EvictionHelper< ST, DT > EH;
|
||||||
typedef typename EH::HitMap HitMap;
|
typedef typename EH::HitMap HitMap;
|
||||||
typedef typename EH::HitMapItr HitMapItr;
|
typedef typename EH::HitMapItr HitMapItr;
|
||||||
|
@ -423,9 +425,12 @@ namespace Loki
|
||||||
D( std::cout << x.second << std::endl; )
|
D( std::cout << x.second << std::endl; )
|
||||||
}
|
}
|
||||||
const DT &key_;
|
const DT &key_;
|
||||||
|
updateCounter(const updateCounter& rhs) : key_(rhs.key_){}
|
||||||
|
private:
|
||||||
|
updateCounter& operator=(const updateCounter& rhs);
|
||||||
};
|
};
|
||||||
protected:
|
protected:
|
||||||
|
EvictAging(){}
|
||||||
virtual ~EvictAging(){}
|
virtual ~EvictAging(){}
|
||||||
|
|
||||||
// OnStore initialize the counter for the new key
|
// OnStore initialize the counter for the new key
|
||||||
|
|
|
@ -188,6 +188,8 @@ namespace Loki
|
||||||
const char* name(){return "smart pointer";}
|
const char* name(){return "smart pointer";}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
SmartPointer& operator=(const SmartPointer&);
|
||||||
|
SmartPointer(const SmartPointer&);
|
||||||
void smartPointerCallbackFunction(void* pSP)
|
void smartPointerCallbackFunction(void* pSP)
|
||||||
{
|
{
|
||||||
CallBackSP &SP(*reinterpret_cast<CallBackSP*>(pSP));
|
CallBackSP &SP(*reinterpret_cast<CallBackSP*>(pSP));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue