]> git.lyx.org Git - lyx.git/blobdiff - src/support/LSubstring.C
one small private fix in mathed, put noncopyable and tie into boost namespace
[lyx.git] / src / support / LSubstring.C
index 21c5d54c67fd1c29a0d406092bae2c8f41a20789..ddf132c007f565f18d4cf61193e268cc75ab374a 100644 (file)
@@ -68,14 +68,14 @@ LSubstring & LSubstring::operator=(LSubstring const & s)
 }
 
 
-LSubstring & LSubstring::operator=(char const * p)
+LSubstring & LSubstring::operator=(string::value_type const * p)
 {
        ps->replace(pos, n, p);
        return *this;
 }
 
 
-LSubstring & LSubstring::operator=(char c)
+LSubstring & LSubstring::operator=(string::value_type c)
 {
        ps->replace(pos, n, 1, c);
        return *this;