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

Commit f33b1b5e authored by Steven Moreland's avatar Steven Moreland
Browse files

VectorImpl: print size on failure.

Bug: 385993122
Test: N/A
Change-Id: I80ae32f97c022664fab288a8278f979c89b635d0
parent d4500c4b
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();