]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/num_token.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / spirit / home / support / detail / lexer / parser / tokeniser / num_token.hpp
index a173515e837b494a12b927e46a481a868b509193..7ccb2ac6e9df88840e1c75eb4f543615c5a824b6 100644 (file)
@@ -45,30 +45,6 @@ struct basic_num_token
         *_macro = 0;
     }
 
-    basic_num_token &operator = (const basic_num_token &rhs_)
-    {
-        _type = rhs_._type;
-        _id = rhs_._id;
-        _min = rhs_._min;
-        _comma = rhs_._comma;
-        _max = rhs_._max;
-
-        if (_type == MACRO)
-        {
-            const CharT *read_ = rhs_._macro;
-            CharT *write_ = _macro;
-
-            while (*read_)
-            {
-                *write_++ = *read_++;
-            }
-
-            *write_ = 0;
-        }
-
-        return *this;
-    }
-
     void set (const type type_)
     {
         _type = type_;