mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Remove bogus ifdocstream constructor argument, which _may_ be the cause of
tex2lyx woes under windows. It may also help chktex under windows (does it works currently?) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29361 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ac5a6ac79a
commit
f3038bed06
@ -320,9 +320,9 @@ const char * iconv_codecvt_facet_exception::what() const throw()
|
||||
}
|
||||
|
||||
|
||||
ifdocstream::ifdocstream(string const & encoding) : base()
|
||||
ifdocstream::ifdocstream() : base()
|
||||
{
|
||||
setEncoding(*this, encoding, in);
|
||||
setEncoding(*this, "UTF-8", in);
|
||||
}
|
||||
|
||||
|
||||
|
@ -45,7 +45,7 @@ typedef std::basic_ostream<char_type> odocstream;
|
||||
class ifdocstream : public std::basic_ifstream<char_type> {
|
||||
typedef std::basic_ifstream<char_type> base;
|
||||
public:
|
||||
ifdocstream(std::string const & encoding = "UTF-8");
|
||||
ifdocstream();
|
||||
explicit ifdocstream(const char* s,
|
||||
std::ios_base::openmode mode = std::ios_base::in,
|
||||
std::string const & encoding = "UTF-8");
|
||||
|
Loading…
Reference in New Issue
Block a user