Print

Print


`vector::resize` instead of `vector::reserve` might do it.  The latter ensures allocation, but doesn't set the size, and it's `vector::operator[]` that has the failing assertion based on the index 0 not being less than the size 0.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1614#issuecomment-1034928628
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1