summaryrefslogtreecommitdiff
path: root/src/unistring.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-12 03:30:41 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-12 03:30:41 -0400
commitc8cd2c468e202f07af187590dcdc07935b6918f6 (patch)
tree397504912c30945f3bc607778d3471c1a41ccdd7 /src/unistring.h
parentbb243e2c5e68a04d0da4c8c20a74b5b8acf7ecdb (diff)
downloadfork-ledger-c8cd2c468e202f07af187590dcdc07935b6918f6.tar.gz
fork-ledger-c8cd2c468e202f07af187590dcdc07935b6918f6.tar.bz2
fork-ledger-c8cd2c468e202f07af187590dcdc07935b6918f6.zip
Re-enabled some code, and removed a bunch of deadwood.
Diffstat (limited to 'src/unistring.h')
-rw-r--r--src/unistring.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/unistring.h b/src/unistring.h
index b23be7c2..97156fde 100644
--- a/src/unistring.h
+++ b/src/unistring.h
@@ -68,9 +68,7 @@ public:
const char * p = input.c_str();
std::size_t len = input.length();
-#if 0
- assert(utf8::is_valid(p, p + len));
-#endif
+ //assert(utf8::is_valid(p, p + len));
utf8::utf8to32(p, p + len, std::back_inserter(utf32chars));
}
~unistring() {