]> git.lyx.org Git - features.git/blobdiff - src/Lexer.h
introduce a header to forward declare std::string.
[features.git] / src / Lexer.h
index 64186392666c4431fa44359940bda95c932483b9..fbe27602c812fd49ca586a63768ec4d6cbe754c8 100644 (file)
@@ -17,9 +17,7 @@
 #ifndef LEXER_H
 #define LEXER_H
 
-#include "support/docstring.h"
-
-#include <boost/noncopyable.hpp>
+#include "support/strfwd.h"
 
 #include <iosfwd>
 
@@ -55,7 +53,7 @@ struct keyword_item {
 
     @see LyXRC.cpp for an example of usage.
   */
-class Lexer : boost::noncopyable {
+class Lexer {
 public:
        ///
        Lexer(keyword_item *, int);
@@ -175,6 +173,11 @@ public:
        static std::string const quoteString(std::string const &);
 
 private:
+       /// noncopiable
+       Lexer(Lexer const &);
+       void operator=(Lexer const &);
+
+       ///
        class Pimpl;
        ///
        Pimpl * pimpl_;