mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-23 04:15:31 +00:00
Changed operator= in Definition to return Action
This commit is contained in:
parent
4c8415c054
commit
6dc7b38b4e
4
peglib.h
4
peglib.h
@ -1707,9 +1707,9 @@ public:
|
|||||||
return parse_and_get_value(s, n, dt, val, path);
|
return parse_and_get_value(s, n, dt, val, path);
|
||||||
}
|
}
|
||||||
|
|
||||||
Definition& operator=(Action a) {
|
Action operator=(Action a) {
|
||||||
action = a;
|
action = a;
|
||||||
return *this;
|
return a;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
Loading…
Reference in New Issue
Block a user