From: Torsten Dreyer Date: Wed, 12 Mar 2014 20:10:14 +0000 (+0100) Subject: Partial fix of #1408, add missing throw X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d44a3117d9b1f74a44afbab50e16b9b0ca21342d;p=simgear.git Partial fix of #1408, add missing throw --- diff --git a/simgear/package/Root.cxx b/simgear/package/Root.cxx index d5f275d1..ad5c49b6 100644 --- a/simgear/package/Root.cxx +++ b/simgear/package/Root.cxx @@ -236,7 +236,7 @@ std::string Root::getLocale() const void Root::scheduleToUpdate(Install* aInstall) { if (!aInstall) { - sg_exception("missing argument to scheduleToUpdate"); + throw sg_exception("missing argument to scheduleToUpdate"); } PackageList deps = aInstall->package()->dependencies();