Make sure that pop_back_val() result is used.