diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-16 15:17:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-09-16 15:17:37 +0200 |
commit | 0ba00ee1a2e4e711aca31cda7b1d8ef7a33c95b4 (patch) | |
tree | 996a12ef7f3466fc6228b8bfdca52502e7f579a2 /binaryurp/source/outgoingrequests.cxx | |
parent | e488d3c9527e0e7cfd3dd56479db4ed6d4035ea3 (diff) |
Replace remaining OSL_ASSERT etc. in binaryurp
Change-Id: I6f013cacbefe9c681baa3e91f73f4fc05c99ba78
Diffstat (limited to 'binaryurp/source/outgoingrequests.cxx')
-rw-r--r-- | binaryurp/source/outgoingrequests.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/binaryurp/source/outgoingrequests.cxx b/binaryurp/source/outgoingrequests.cxx index 1f4254f6c672..b6aa946d8e9a 100644 --- a/binaryurp/source/outgoingrequests.cxx +++ b/binaryurp/source/outgoingrequests.cxx @@ -19,6 +19,8 @@ #include "sal/config.h" +#include <cassert> + #include "com/sun/star/uno/RuntimeException.hpp" #include "rtl/byteseq.hxx" #include "osl/mutex.hxx" @@ -48,14 +50,14 @@ OutgoingRequest OutgoingRequests::top(rtl::ByteSequence const & tid) { throw css::uno::RuntimeException( "URP: reply for unknown TID"); } - OSL_ASSERT(!i->second.empty()); + assert(!i->second.empty()); return i->second.back(); } void OutgoingRequests::pop(rtl::ByteSequence const & tid) throw () { osl::MutexGuard g(mutex_); Map::iterator i(map_.find(tid)); - OSL_ASSERT(i != map_.end()); + assert(i != map_.end()); i->second.pop_back(); if (i->second.empty()) { map_.erase(i); |