internal change

PiperOrigin-RevId: 483308781
This commit is contained in:
MediaPipe Team 2022-10-24 01:37:49 -07:00 committed by Copybara-Service
parent de93d06f87
commit af051dcb62

View File

@ -185,7 +185,7 @@ class CalculatorBaseFactory {
// Functions for checking that the calculator has the required GetContract.
template <class T>
constexpr bool CalculatorHasGetContract(decltype(&T::GetContract) /*unused*/) {
typedef absl::Status (*GetContractType)(CalculatorContract * cc);
typedef absl::Status (*GetContractType)(CalculatorContract* cc);
return std::is_same<decltype(&T::GetContract), GetContractType>::value;
}
template <class T>