diff options
Diffstat (limited to 'src/util/resource_manager.h')
-rw-r--r-- | src/util/resource_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/resource_manager.h b/src/util/resource_manager.h index 35315559f..e49b27286 100644 --- a/src/util/resource_manager.h +++ b/src/util/resource_manager.h @@ -151,8 +151,8 @@ public: uint64_t getResourceBudgetForThisCall() { return d_thisCallResourceBudget; } - - void spendResource(unsigned ammount) throw(UnsafeInterruptException); + // Throws an UnsafeInterruptException if there are no remaining resources. + void spendResource(unsigned amount); void setHardLimit(bool value); void setResourceLimit(uint64_t units, bool cumulative = false); |