Changed operator= in Definition to return Action

This commit is contained in:
yhirose 2018-08-03 21:06:51 -04:00
parent 4c8415c054
commit 6dc7b38b4e

View File

@ -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>