mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
Bug Fix - WASM build break (#13699)
### Description When using the build flag "--cmake_extra_defines onnxruntime_DEBUG_NODE_INPUTS_OUTPUTS=1" with WASM it results with a build break. Since we are comparing a const vs. non-const T type, this added casting resolves the issue.
This commit is contained in:
parent
da2bd3ad4d
commit
4a2a857030
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ void VerifyTensorProtoFileData(const PathString& tensor_proto_path, gsl::span<co
|
|||
actual_data.resize(expected_data.size());
|
||||
ASSERT_STATUS_OK(utils::UnpackTensor(tensor_proto, Path{}, actual_data.data(), actual_data.size()));
|
||||
|
||||
ASSERT_EQ(gsl::make_span(actual_data), expected_data);
|
||||
ASSERT_EQ(gsl::span<const T>(actual_data), expected_data);
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue