Hello, Chris > This sort of thing won't work when the string is empty and checking is > enabled. Maybe something like this is enough: > if (Key.empty()) return find(0,0); Will find() operate sane in such case (supplying NULL pointer as input)?
-- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits