Added std:: in front of all bad allocs