mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
removed bogus Assert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@175 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c4680453ef
commit
e9dc3e73b1
@ -1,3 +1,8 @@
|
||||
1999-10-06 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||
|
||||
* src/support/lyxstring.C (helper): removed bogus Assert. strlen
|
||||
does not allow '\0' chars but lyxstring and std::string does.
|
||||
|
||||
1999-10-05 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||
|
||||
* configure.in (Check for programs): Added a check for kpsewhich,
|
||||
|
@ -116,7 +116,6 @@ void lyxstringInvariant::helper() const
|
||||
Assert(object->rep);
|
||||
Assert(object->rep->s); // s is never 0
|
||||
Assert(object->rep->res); // always some space allocated
|
||||
Assert(strlen(object->c_str()) == object->size());
|
||||
Assert(object->size() <= object->rep->res);
|
||||
Assert(object->rep->ref >= 1); // its in use so it must be referenced
|
||||
Assert(object->rep->ref < (1 << 8*sizeof(lyxstring::Srep::ref)) - 1);
|
||||
|
Loading…
Reference in New Issue
Block a user