remove warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@421 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
56fe17d96e
commit
9087a105b3
2 changed files with 2 additions and 0 deletions
|
@ -241,6 +241,7 @@ public:
|
|||
if (capacity() < neededCapacity)
|
||||
{
|
||||
static std::less_equal<const E*> le;
|
||||
(void) le;
|
||||
assert(!(le(begin(), &*b) && le(&*b, end())));
|
||||
reserve(neededCapacity);
|
||||
}
|
||||
|
|
|
@ -225,6 +225,7 @@ public:
|
|||
if (capacity() < neededCapacity)
|
||||
{
|
||||
static std::less_equal<const E*> le;
|
||||
(void) le;
|
||||
assert(!(le(begin(), &*b) && le(&*b, end()))); // no aliasing
|
||||
reserve(neededCapacity);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue