include assert.h when needed

This commit is contained in:
dockes 2007-09-22 08:51:29 +00:00
parent 25a96760a7
commit ea7d3cd26e
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#ifndef lint
static char rcsid[] = "@(#$Id: textsplit.cpp,v 1.32 2007-09-20 12:22:26 dockes Exp $ (C) 2004 J.F.Dockes";
static char rcsid[] = "@(#$Id: textsplit.cpp,v 1.33 2007-09-22 08:51:29 dockes Exp $ (C) 2004 J.F.Dockes";
#endif
/*
* This program is free software; you can redistribute it and/or modify
@ -24,6 +24,7 @@ static char rcsid[] = "@(#$Id: textsplit.cpp,v 1.32 2007-09-20 12:22:26 dockes E
#include <set>
#include "textsplit.h"
#include "debuglog.h"
#include "assert.h"
//#define UTF8ITER_CHECK
#include "utf8iter.h"

View File

@ -16,7 +16,11 @@
*/
#ifndef _UTF8ITER_H_INCLUDED_
#define _UTF8ITER_H_INCLUDED_
/* @(#$Id: utf8iter.h,v 1.9 2007-09-20 08:45:05 dockes Exp $ (C) 2004 J.F.Dockes */
/* @(#$Id: utf8iter.h,v 1.10 2007-09-22 08:51:29 dockes Exp $ (C) 2004 J.F.Dockes */
#ifdef UTF8ITER_CHECK
#include "assert.h"
#endif
/**
* A small helper class to iterate over utf8 strings. This is not an