node icon indicating copy to clipboard operation
node copied to clipboard

src: check empty before accessing string

Open zcbenz opened this issue 1 year ago • 0 comments

Fix an assertion when running dotnev tests with GN build: assertion !empty() failed: string::front(): string is empty

which was caused by calling value.front() without verifying the value is not empty.

zcbenz avatar Feb 05 '24 01:02 zcbenz