From 94e6e00e62e06fcca8228bd15b4c209791c186e2 Mon Sep 17 00:00:00 2001 From: Sriram Laxman Date: Thu, 1 Dec 2022 09:08:26 -0800 Subject: [PATCH] T138861426: [Bootcamp][PCF][BE] Migrate the DotproductGame to use the new API that accepts metric collector. (#1967) Summary: X-link: https://github.com/facebookresearch/fbpcs/pull/1967 Pull Request resolved: https://github.com/facebookresearch/fbpcf/pull/453 As titled. Differential Revision: D41640581 fbshipit-source-id: 9654befbab598cb7d7d704c9e7bc18f0e2229a93 --- .../walr_multiplication/OTBasedMatrixMultiplicationFactory.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fbpcf/mpc_std_lib/walr_multiplication/OTBasedMatrixMultiplicationFactory.h b/fbpcf/mpc_std_lib/walr_multiplication/OTBasedMatrixMultiplicationFactory.h index 8b1849b7..86b645f0 100644 --- a/fbpcf/mpc_std_lib/walr_multiplication/OTBasedMatrixMultiplicationFactory.h +++ b/fbpcf/mpc_std_lib/walr_multiplication/OTBasedMatrixMultiplicationFactory.h @@ -28,8 +28,7 @@ class OTBasedMatrixMultiplicationFactory final public: const std::string metricRecorderNamePrefix = "ot_based_matrix_multiplication"; - // The following constructor will be deprecated once we updated all APP codes - explicit OTBasedMatrixMultiplicationFactory( + [[deprecated("Use the constructor with MetricCollector instead.")]] explicit OTBasedMatrixMultiplicationFactory( int myId, int partnerId, bool isFeatureOwner,