platform_drv: avoid gcc 6 warnings

This commit is contained in:
Alexander Boettcher 2017-04-20 20:06:08 +02:00 committed by Christian Helmuth
parent d8f60a8ea1
commit 1220a06c3b

View File

@ -276,7 +276,7 @@ class Platform::Session_component : public Genode::Rpc_object<Session>
throw Out_of_metadata();
}
~Quota_reservation()
~Quota_reservation() noexcept(false)
{
if (!guard.revert_withdraw(amount))
throw Fatal();