From 357799c96672fb1e6ad133d76341cc2aadefb0f5 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 6 Jun 2013 18:54:33 +0200 Subject: [PATCH] replace remaining plain assert with kak_assert --- src/buffer.cc | 2 +- src/utils.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buffer.cc b/src/buffer.cc index 31bd65b8b..d8b0dd035 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -201,7 +201,7 @@ class UndoGroupOptimizer ++pos.column; ++count; } - assert(pos == endpos); + kak_assert(pos == endpos); return count; } diff --git a/src/utils.hh b/src/utils.hh index 739505622..ea217b978 100644 --- a/src/utils.hh +++ b/src/utils.hh @@ -24,7 +24,7 @@ public: static T& instance() { - assert (ms_instance); + kak_assert (ms_instance); return *ms_instance; }