]> git.lyx.org Git - lyx.git/blobdiff - src/support/LSubstring.h
small changes read ChangeLog
[lyx.git] / src / support / LSubstring.h
index 44463d32261eece011b37a1bf72ce1dec0d75dd8..1f82069139a53a9cc038f483c811297c915ec995 100644 (file)
@@ -4,10 +4,10 @@
  * 
  *           LyX, The Document Processor
  *      
- *         Copyright (C) 1995 Matthias Ettrich
- *          Copyright (C) 1995-1998 The LyX Team.
+ *         Copyright 1995 Matthias Ettrich
+ *          Copyright 1995-2000 The LyX Team.
  *
- *======================================================*/
+ * ====================================================== */
 
 // This one is heavily based on the substring class in The C++
 // Programming Language by Bjarne Stroustrup
@@ -31,11 +31,11 @@ public:
        ///
        LSubstring(string & s, size_type i, size_type n);
        ///
-       LSubstring(string & s, string & s2);
+       LSubstring(string & s, string const & s2);
        ///
-       LSubstring(string & s, string::value_type * p);
+       LSubstring(string & s, string::value_type const * p);
        ///
-       LSubstring(string & s, LRegex & r);
+       LSubstring(string & s, LRegex const & r);
        ///
        LSubstring & operator=(string const &);
        ///
@@ -46,10 +46,6 @@ public:
        LSubstring & operator=(string::value_type);
        ///
        operator string() const;
-#if 0
-       ///
-       operator char const * () const;
-#endif
 private:
        ///
        string * ps;