From 9087a105b36bab672edeecaaccfb655e0d90731a Mon Sep 17 00:00:00 2001 From: syntheticpp Date: Thu, 5 Jan 2006 13:17:47 +0000 Subject: [PATCH] remove warnings git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@421 7ec92016-0320-0410-acc4-a06ded1c099a --- include/loki/flex/allocatorstringstorage.h | 1 + include/loki/flex/simplestringstorage.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/loki/flex/allocatorstringstorage.h b/include/loki/flex/allocatorstringstorage.h index ca8e1e6..ad4f298 100755 --- a/include/loki/flex/allocatorstringstorage.h +++ b/include/loki/flex/allocatorstringstorage.h @@ -241,6 +241,7 @@ public: if (capacity() < neededCapacity) { static std::less_equal le; + (void) le; assert(!(le(begin(), &*b) && le(&*b, end()))); reserve(neededCapacity); } diff --git a/include/loki/flex/simplestringstorage.h b/include/loki/flex/simplestringstorage.h index ec53355..b9cfe44 100755 --- a/include/loki/flex/simplestringstorage.h +++ b/include/loki/flex/simplestringstorage.h @@ -225,6 +225,7 @@ public: if (capacity() < neededCapacity) { static std::less_equal le; + (void) le; assert(!(le(begin(), &*b) && le(&*b, end()))); // no aliasing reserve(neededCapacity); }