summaryrefslogtreecommitdiff
path: root/src/utf8_iterator.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-04-09 20:04:11 +0200
committerMaxime Coste <frrrwww@gmail.com>2013-04-09 20:04:11 +0200
commit5adee4a6a7e63aed3fac3cd8c9456d2ee1cd06a1 (patch)
tree6cc5a0d0628ab4d631f0cffd53a062cc417753a2 /src/utf8_iterator.hh
parent34b8604f902042985fa9a7101427f5eafadee55e (diff)
rename assert to kak_assert to avoid collisions
Diffstat (limited to 'src/utf8_iterator.hh')
-rw-r--r--src/utf8_iterator.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utf8_iterator.hh b/src/utf8_iterator.hh
index 71681dcc..7b735aa5 100644
--- a/src/utf8_iterator.hh
+++ b/src/utf8_iterator.hh
@@ -100,7 +100,7 @@ public:
CharCount operator-(utf8_iterator other) const
{
- //assert(other < *this);
+ //kak_assert(other < *this);
check_invariant();
other.check_invariant();
CharCount dist = 0;
@@ -124,7 +124,7 @@ protected:
void check_invariant() const
{
// always point to a character first byte;
- // assert(is_character_start(it));
+ // kak_assert(is_character_start(it));
}
private: