mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Allow empty file names in constructor, since empty filenames can now be
created by the default constrcutor anyway. This prevents an assert in findtexfiles. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16168 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
493ec52c3f
commit
015abe1a5a
@ -41,7 +41,7 @@ FileName::~FileName()
|
||||
FileName::FileName(string const & abs_filename)
|
||||
: name_(abs_filename)
|
||||
{
|
||||
BOOST_ASSERT(absolutePath(name_));
|
||||
BOOST_ASSERT(empty() || absolutePath(name_));
|
||||
BOOST_ASSERT(!contains(name_, '\\'));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user