diff --git a/src/mathed/MathStream.cpp b/src/mathed/MathStream.cpp index 803023876c..7a13955779 100644 --- a/src/mathed/MathStream.cpp +++ b/src/mathed/MathStream.cpp @@ -107,7 +107,7 @@ WriteStream & operator<<(WriteStream & ws, docstring const & s) } ws.os() << s.substr(first); int lf = 0; - char_type lastchar(0); + char_type lastchar = 0; docstring::const_iterator dit = s.begin() + first; docstring::const_iterator end = s.end(); for (; dit != end; ++dit) {