mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-26 03:00:54 +00:00
22 lines
979 B
Diff
22 lines
979 B
Diff
diff --git a/absl/container/internal/inlined_vector.h b/absl/container/internal/inlined_vector.h
|
|
index 1d7d6cd..f6a7a78 100644
|
|
--- a/absl/container/internal/inlined_vector.h
|
|
+++ b/absl/container/internal/inlined_vector.h
|
|
@@ -904,7 +904,7 @@ auto Storage<T, N, A>::Swap(Storage* other_storage_ptr) -> void {
|
|
inlined_ptr->GetSize());
|
|
}
|
|
ABSL_INTERNAL_CATCH_ANY {
|
|
- allocated_ptr->SetAllocation(
|
|
+ allocated_ptr->SetAllocation(Allocation<A>
|
|
{allocated_storage_view.data, allocated_storage_view.capacity});
|
|
ABSL_INTERNAL_RETHROW;
|
|
}
|
|
@@ -912,7 +912,7 @@ auto Storage<T, N, A>::Swap(Storage* other_storage_ptr) -> void {
|
|
DestroyElements<A>(inlined_ptr->GetAllocator(),
|
|
inlined_ptr->GetInlinedData(), inlined_ptr->GetSize());
|
|
|
|
- inlined_ptr->SetAllocation(
|
|
+ inlined_ptr->SetAllocation(Allocation<A>
|
|
{allocated_storage_view.data, allocated_storage_view.capacity});
|
|
}
|
|
|