summaryrefslogtreecommitdiff
path: root/binaryurp/source/bridge.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-04-30 08:20:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-05-02 17:02:28 +0200
commit10d29c390dd58ed629dd27fe5ed35fae28eceec3 (patch)
tree7476cbb90fff182c5bec0a5a1ef9c41a3ad29f19 /binaryurp/source/bridge.cxx
parenta9243e626193ab4efe3a618413886773336a38e6 (diff)
throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite
Change-Id: I076f16d0536b534abf0ced4d76051eadb4c0e033 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114949 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'binaryurp/source/bridge.cxx')
-rw-r--r--binaryurp/source/bridge.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx
index fccef42d98f4..acefb175e8ec 100644
--- a/binaryurp/source/bridge.cxx
+++ b/binaryurp/source/bridge.cxx
@@ -103,7 +103,7 @@ public:
~AttachThread();
- const rtl::ByteSequence& getTid() const throw () { return tid_;}
+ const rtl::ByteSequence& getTid() const noexcept { return tid_;}
private:
AttachThread(const AttachThread&) = delete;
@@ -546,7 +546,7 @@ void Bridge::freeProxy(Proxy & proxy) {
terminateWhenUnused(unused);
}
-void Bridge::incrementCalls(bool normalCall) throw () {
+void Bridge::incrementCalls(bool normalCall) noexcept {
osl::MutexGuard g(mutex_);
assert(calls_ < std::numeric_limits< std::size_t >::max());
++calls_;
@@ -564,7 +564,7 @@ void Bridge::decrementCalls() {
terminateWhenUnused(unused);
}
-void Bridge::incrementActiveCalls() throw () {
+void Bridge::incrementActiveCalls() noexcept {
osl::MutexGuard g(mutex_);
assert(
activeCalls_ <= calls_ &&
@@ -573,7 +573,7 @@ void Bridge::incrementActiveCalls() throw () {
passive_.reset();
}
-void Bridge::decrementActiveCalls() throw () {
+void Bridge::decrementActiveCalls() noexcept {
osl::MutexGuard g(mutex_);
assert(activeCalls_ <= calls_ && activeCalls_ > 0);
--activeCalls_;