internal change
PiperOrigin-RevId: 483308781
This commit is contained in:
parent
de93d06f87
commit
af051dcb62
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user