From 486fd35f1554ea426244ef435e3148dfe589c613 Mon Sep 17 00:00:00 2001 From: Alper Yoney Date: Tue, 4 Feb 2025 21:21:17 -0800 Subject: [PATCH] Fix ServerConfig mock Reviewed By: createdbysk Differential Revision: D69158324 fbshipit-source-id: 35969be91e3eb8ff738475d25f08fd82d09ac650 --- .../src/thrift/lib/cpp2/server/test/util/MockServerConfigs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/third-party/thrift/src/thrift/lib/cpp2/server/test/util/MockServerConfigs.h b/third-party/thrift/src/thrift/lib/cpp2/server/test/util/MockServerConfigs.h index 6438d05b3e453f..cddf5fdd27fa83 100644 --- a/third-party/thrift/src/thrift/lib/cpp2/server/test/util/MockServerConfigs.h +++ b/third-party/thrift/src/thrift/lib/cpp2/server/test/util/MockServerConfigs.h @@ -51,12 +51,12 @@ class MockServerConfigs : public apache::thrift::server::ServerConfigs { (), (const, override)); MOCK_METHOD( - apache::thrift::CPUConcurrencyController*, + apache::thrift::CPUConcurrencyController&, getCPUConcurrencyController, (), (override)); MOCK_METHOD( - const apache::thrift::CPUConcurrencyController*, + const apache::thrift::CPUConcurrencyController&, getCPUConcurrencyController, (), (const, override));