diff options
author | Michael Butler <butlermichael@google.com> | 2021-10-18 22:45:51 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-10-18 22:45:51 +0000 |
commit | 68e98f40dc84cbe536721e8926ca075019c97999 (patch) | |
tree | dc6c0a21ed06b1ea69ddc8234d829cf3414c1623 /neuralnetworks/utils/common/src/CommonUtils.cpp | |
parent | b350c7cf493d5ba4a8ddc7b53572777290f03603 (diff) | |
parent | ff9a5a527a05d0638fca6010fefa9e7420d1f7ab (diff) |
Merge "Allow implicit conversions for NN errors -- hal"
Diffstat (limited to 'neuralnetworks/utils/common/src/CommonUtils.cpp')
-rw-r--r-- | neuralnetworks/utils/common/src/CommonUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/neuralnetworks/utils/common/src/CommonUtils.cpp b/neuralnetworks/utils/common/src/CommonUtils.cpp index ae02c88285..235ba29d08 100644 --- a/neuralnetworks/utils/common/src/CommonUtils.cpp +++ b/neuralnetworks/utils/common/src/CommonUtils.cpp @@ -333,7 +333,7 @@ nn::GeneralResult<std::reference_wrapper<const nn::Request>> convertRequestFromP nn::GeneralResult<std::vector<uint32_t>> countNumberOfConsumers( size_t numberOfOperands, const std::vector<nn::Operation>& operations) { - return makeGeneralFailure(nn::countNumberOfConsumers(numberOfOperands, operations)); + return nn::countNumberOfConsumers(numberOfOperands, operations); } nn::GeneralResult<hidl_memory> createHidlMemoryFromSharedMemory(const nn::SharedMemory& memory) { |