summaryrefslogtreecommitdiff
path: root/dev-libs/Ice-3.7.1/missing-throw.patch
blob: 6f5fb7b84e825b43c47edb06bbd24979aa8ae63e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 8b221cc5a17ba64836a687e17cbbf46d9ac8b359 Mon Sep 17 00:00:00 2001
From: Jose <jose@zeroc.com>
Date: Mon, 4 Jun 2018 20:45:04 +0000
Subject: Missing throw statement

---
 cpp/src/IceGrid/Database.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'cpp/src/IceGrid/Database.cpp')

diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp
index 60f9556435..985631371a 100644
--- a/cpp/src/IceGrid/Database.cpp
+++ b/cpp/src/IceGrid/Database.cpp
@@ -1628,7 +1628,7 @@ Database::updateObject(const Ice::ObjectPrx& proxy)
 
             if(!_objects.get(txn, id, info))
             {
-                ObjectNotRegisteredException(id);
+                throw ObjectNotRegisteredException(id);
             }
             info.proxy = proxy;
             addObject(txn, info, false);
-- 
cgit v1.2.1