]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Parser.h
Cmake roundtrip tests: Amend fc1c5c6, rename formula_indent to math_indent
[lyx.git] / src / tex2lyx / Parser.h
index 57a5cb1bf8557618b36aa7e9ad66a1ee32908a25..19f0c5fbe33a61ab5bbbb5af4a06fcef8dce8fb4 100644 (file)
@@ -125,15 +125,9 @@ public:
 
        iparserdocstream(idocstream & is) : is_(is) {}
 
-#if (__cplusplus > 19971L)
        /// Like std::istream::operator bool()
        /// Do not convert is_ implicitly to bool, since that is forbidden in C++11.
        explicit operator bool() const { return s_.empty() ? !is_.fail() : true; }
-#else
-       /// Like std::istream::operator void*()
-       operator void*() const { return (s_.empty() && is_.fail()) ?
-                       0 : const_cast<iparserdocstream *>(this); }
-#endif
 
        /// change the encoding of the input stream to \p e (iconv name)
        void setEncoding(std::string const & e);