Skip to content

Commit

Permalink
update comment to reflect the correct base class (#13462)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Matusiak <[email protected]>
  • Loading branch information
numerodix authored Oct 9, 2020
1 parent 448ea2f commit ef24be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/common/upstream/resource_manager_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ struct ManagedResourceImpl : public BasicResourceLimitImpl {
remaining_.set(max);
}

// Upstream::Resource
// BasicResourceLimitImpl
bool canCreate() override { return current_ < max(); }
void inc() override {
BasicResourceLimitImpl::inc();
Expand Down

0 comments on commit ef24be7

Please sign in to comment.