diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-04 04:29:10 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-04 04:29:10 -0400 |
commit | 2d63c9364af57c732003afc7adddeb8ce62a1988 (patch) | |
tree | 8b5ac531fdebe6e25c77b6fefc41b3d0bfec58a9 /src/unistring.h | |
parent | dcac3064670e6b4f4b8759d9adf54e8569ec4786 (diff) | |
download | fork-ledger-2d63c9364af57c732003afc7adddeb8ce62a1988.tar.gz fork-ledger-2d63c9364af57c732003afc7adddeb8ce62a1988.tar.bz2 fork-ledger-2d63c9364af57c732003afc7adddeb8ce62a1988.zip |
Changed many assert() calls to VERIFY()
Diffstat (limited to 'src/unistring.h')
-rw-r--r-- | src/unistring.h | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |