mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 07:36:16 +00:00
Changed: #1448 Compilation with CLang
This commit is contained in:
parent
425927cd50
commit
d274c3d42e
3 changed files with 17 additions and 3 deletions
|
@ -209,6 +209,8 @@ public:
|
|||
{
|
||||
#ifdef NL_DEBUG
|
||||
std::swap(_DbgData, other._DbgData);
|
||||
#else
|
||||
nlunreferenced(other);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -225,6 +227,10 @@ public:
|
|||
TBMSSerialInfo serialItem( bitpos, size, type, _DbgData->NextSymbol );
|
||||
_DbgData->List.push_back( serialItem );
|
||||
_DbgData->NextSymbol = NULL;
|
||||
#else
|
||||
nlunreferenced(bitpos);
|
||||
nlunreferenced(size);
|
||||
nlunreferenced(type);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -258,6 +264,10 @@ public:
|
|||
nlwarning( "Missing reserve() corresponding to poke()" );
|
||||
}
|
||||
_DbgData->NextSymbol = NULL;
|
||||
#else
|
||||
nlunreferenced(bitpos);
|
||||
nlunreferenced(size);
|
||||
nlunreferenced(type);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -266,6 +276,8 @@ public:
|
|||
{
|
||||
#ifdef NL_DEBUG
|
||||
_DbgData->NextSymbol = symbol;
|
||||
#else
|
||||
nlunreferenced(symbol);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -308,6 +320,8 @@ public:
|
|||
}
|
||||
//nlassert( bitpos < (*_List)[_CurrentBrowsedItem].BitPos ); // occurs if stream overflow
|
||||
}
|
||||
#else
|
||||
nlunreferenced(bitpos);
|
||||
#endif
|
||||
*eventId = -1;
|
||||
return std::string();
|
||||
|
|
|
@ -717,11 +717,11 @@ class CAutoMutex
|
|||
TMutex &_Mutex;
|
||||
|
||||
// forbeden copy or assignent
|
||||
CAutoMutex(const CAutoMutex &other)
|
||||
CAutoMutex(const CAutoMutex &/* other */)
|
||||
{
|
||||
}
|
||||
|
||||
CAutoMutex &operator = (const CAutoMutex &other)
|
||||
CAutoMutex &operator = (const CAutoMutex &/* other */)
|
||||
{
|
||||
return *this;
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@ namespace NLMISC {
|
|||
{
|
||||
public:
|
||||
/// Constructor. Must gives a blockMemory to ctor. NB: must gives a CBlockMemory<T, false> !!!
|
||||
CSTLBlockAllocator(CBlockMemory<T, false> *bm)
|
||||
CSTLBlockAllocator(CBlockMemory<T, false> */* bm */)
|
||||
{
|
||||
}
|
||||
/// copy ctor
|
||||
|
|
Loading…
Reference in a new issue