Fixed copy constructor to copy everything, as per mordante's observation.
This commit is contained in:
parent
cc35a3cbb4
commit
c25317caa7
1 changed files with 2 additions and 2 deletions
|
@ -42,10 +42,10 @@ struct token {
|
|||
|
||||
token(token const & a)
|
||||
: type(a.type)
|
||||
, value_()
|
||||
, value_(a.value_)
|
||||
, t_token_(a.t_token_)
|
||||
, is_parsed_(a.is_parsed_)
|
||||
, buffer_()
|
||||
, buffer_(a.buffer_)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue