Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13a4d74e authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "VectorImpl: print size on failure." into main

parents 3b73c8f8 f33b1b5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ void* VectorImpl::editArrayImpl()
            // Fail instead of returning a pointer to storage that's not
            // editable. Otherwise we'd be editing the contents of a buffer
            // for which we're not the only owner, which is undefined behaviour.
            LOG_ALWAYS_FATAL_IF(editable == nullptr);
            LOG_ALWAYS_FATAL_IF(editable == nullptr, "size: %zu", sb->size());
            _do_copy(editable->data(), mStorage, mCount);
            release_storage();
            mStorage = editable->data();