Compare the given object against the stored one. * * @param[in] dim To be compared object. * * @return a status. */
| 98 | * @return a status. |
| 99 | */ |
| 100 | arm_compute::Status operator()(const Dimensions<T> &dim) |
| 101 | { |
| 102 | ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG(have_different_dimensions(_dim, dim, 0), _function, _file, _line, |
| 103 | "Objects have different dimensions"); |
| 104 | return arm_compute::Status{}; |
| 105 | } |
| 106 | |
| 107 | private: |
| 108 | const Dimensions<T> &_dim; |
nothing calls this directly
no test coverage detected