commit | c736a7cbd3b981d8104243d8c9ece4978cc05710 | [log] [tgz] |
---|---|---|
author | Michael Butler <butlermichael@google.com> | Mon Sep 02 16:37:33 2019 -0700 |
committer | Michael Butler <butlermichael@google.com> | Tue Sep 24 10:57:13 2019 -0700 |
tree | cc2207063e92da7f72b4a198d29d93f8a751a147 | |
parent | 540fe8bc83628c8bff9f654d02224ae10d31e70d [diff] |
Simplify VersionedInterfaces error handling logic This CL has the following simplifications: * CHECK input is non-null instead of gracefully failing * more clearly separate versioned logic * remove std::nothrow when calling "new" for small objects * makes const methods const Bug: N/A Test: mma Test: NeuralNetworksTest_static Test: CtsNNAPITestCases Change-Id: If739b4cc37d8fd0d6b844111327c0688057c27e1