diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-11-28 21:11:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-11-28 22:05:46 +0100 |
commit | ebdbd2b578c970694597dc163125842e9073bf6c (patch) | |
tree | 3a5e3dace480276cf6417cfe81f528d88f5f3365 /binaryurp/source/cache.hxx | |
parent | 06a075ca72a5f7c206701433345a7a5542f838f7 (diff) |
Adapted to new assertion/logging mechanisms.
Diffstat (limited to 'binaryurp/source/cache.hxx')
-rw-r--r-- | binaryurp/source/cache.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 <cassert> #include <cstddef> #include <map> #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()) { |