OSDN Git Service

rule/char.hpp [gcc]
authorMyun2 <myun2@nwhite.info>
Thu, 24 May 2012 06:00:06 +0000 (15:00 +0900)
committerMyun2 <myun2@nwhite.info>
Thu, 24 May 2012 06:00:06 +0000 (15:00 +0900)
roast/include/roast/lexical/rule/char.hpp

index 413f904..b0171ef 100644 (file)
@@ -39,7 +39,7 @@ namespace roast
                                }
                                
                                template <typename _Strm, typename _Document>
-                               bool generate(_Strm& strm, _Document& doc)
+                               bool generate(_Strm& strm, _Document& doc) const
                                {
                                        strm << _Char;
                                        return true;