summaryrefslogtreecommitdiff
path: root/dev-libs/Ice-3.7.1/missing-throw.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/Ice-3.7.1/missing-throw.patch')
-rw-r--r--dev-libs/Ice-3.7.1/missing-throw.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/Ice-3.7.1/missing-throw.patch b/dev-libs/Ice-3.7.1/missing-throw.patch
new file mode 100644
index 0000000..6f5fb7b
--- /dev/null
+++ b/dev-libs/Ice-3.7.1/missing-throw.patch
@@ -0,0 +1,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
+