Skip to content

Commit

Permalink
*: Fix compile error (#8944)
Browse files Browse the repository at this point in the history
close #8860
  • Loading branch information
JaySon-Huang authored Apr 15, 2024
1 parent 0b0cc45 commit 1df6e16
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class MockLocalAdmissionController final : private boost::noncopyable
return {get_priority_func(name)};
}
void warmupResourceGroupInfoCache(const std::string &) {}
uint64_t estWaitDuraMS(const std::string &) { return 100; }
static uint64_t estWaitDuraMS(const std::string &) { return 100; }

void registerRefillTokenCallback(const std::function<void()> & cb)
{
Expand All @@ -85,6 +85,8 @@ class MockLocalAdmissionController final : private boost::noncopyable
refill_token_callback = nullptr;
}

void safeStop() { stop(); }

void stop()
{
{
Expand Down

0 comments on commit 1df6e16

Please sign in to comment.