From 2d63c9364af57c732003afc7adddeb8ce62a1988 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 4 Mar 2009 04:29:10 -0400 Subject: Changed many assert() calls to VERIFY() --- src/unistring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unistring.h') diff --git a/src/unistring.h b/src/unistring.h index cadf82fe..74f17181 100644 --- a/src/unistring.h +++ b/src/unistring.h @@ -70,7 +70,7 @@ public: const char * p = input.c_str(); std::size_t len = input.length(); - assert(utf8::is_valid(p, p + len)); + VERIFY(utf8::is_valid(p, p + len)); utf8::utf8to32(p, p + len, std::back_inserter(utf32chars)); } ~unistring() { -- cgit v1.2.3