From ebdbd2b578c970694597dc163125842e9073bf6c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 28 Nov 2011 21:11:28 +0100 Subject: Adapted to new assertion/logging mechanisms. --- binaryurp/source/cache.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'binaryurp/source/cache.hxx') diff --git a/binaryurp/source/cache.hxx b/binaryurp/source/cache.hxx index 8a4a4b5789d6..6108d325e680 100644 --- a/binaryurp/source/cache.hxx +++ b/binaryurp/source/cache.hxx @@ -31,11 +31,11 @@ #include "sal/config.h" +#include #include #include #include "boost/noncopyable.hpp" -#include "osl/diagnose.h" #include "sal/types.h" namespace binaryurp { @@ -51,11 +51,11 @@ public: explicit Cache(std::size_t size): size_(size), first_(map_.end()), last_(map_.end()) { - OSL_ASSERT(size < cache::ignore); + assert(size < cache::ignore); } sal_uInt16 add(T const & content, bool * found) { - OSL_ASSERT(found != 0); + assert(found != 0); typename Map::iterator i(map_.find(content)); *found = i != map_.end(); if (i == map_.end()) { -- cgit