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();