------- Comment #4 from pcarlini at suse dot de 2006-09-12 17:38 ------- If it's not sufficiently obvious: a reserve on cacheKey *after* cacheKey=current.FileName; much better only after having checked that the vector is not empty, would be exactly as effective as the c_str workaround (as usual, if I understand correctly your code).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29037