include assert.h when needed
This commit is contained in:
parent
25a96760a7
commit
ea7d3cd26e
@ -1,5 +1,5 @@
|
|||||||
#ifndef lint
|
#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
|
#endif
|
||||||
/*
|
/*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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 <set>
|
||||||
#include "textsplit.h"
|
#include "textsplit.h"
|
||||||
#include "debuglog.h"
|
#include "debuglog.h"
|
||||||
|
#include "assert.h"
|
||||||
|
|
||||||
//#define UTF8ITER_CHECK
|
//#define UTF8ITER_CHECK
|
||||||
#include "utf8iter.h"
|
#include "utf8iter.h"
|
||||||
|
|||||||
@ -16,7 +16,11 @@
|
|||||||
*/
|
*/
|
||||||
#ifndef _UTF8ITER_H_INCLUDED_
|
#ifndef _UTF8ITER_H_INCLUDED_
|
||||||
#define _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
|
* A small helper class to iterate over utf8 strings. This is not an
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user