]> git.mxchange.org Git - simgear.git/commitdiff
Partial fix of #1408, add missing throw
authorTorsten Dreyer <torsten@t3r.de>
Wed, 12 Mar 2014 20:10:14 +0000 (21:10 +0100)
committerTorsten Dreyer <torsten@t3r.de>
Wed, 12 Mar 2014 20:10:14 +0000 (21:10 +0100)
simgear/package/Root.cxx

index d5f275d154564248753092a610e98e8e5e066617..ad5c49b69baf0da0a3fa367bdc14002085d8e39e 100644 (file)
@@ -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();