[layout] Use setter method to set c->lookup_props
This commit is contained in:
parent
f4ee48fd7b
commit
7788993bc1
|
@ -1633,7 +1633,7 @@ template <typename context_t>
|
||||||
unsigned int saved_lookup_props = c->lookup_props;
|
unsigned int saved_lookup_props = c->lookup_props;
|
||||||
c->set_lookup (l);
|
c->set_lookup (l);
|
||||||
bool ret = l.apply_once (c);
|
bool ret = l.apply_once (c);
|
||||||
c->lookup_props = saved_lookup_props;
|
c->set_lookup_props (saved_lookup_props);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1382,7 +1382,7 @@ template <typename context_t>
|
||||||
unsigned int saved_lookup_props = c->lookup_props;
|
unsigned int saved_lookup_props = c->lookup_props;
|
||||||
c->set_lookup (l);
|
c->set_lookup (l);
|
||||||
bool ret = l.apply_once (c);
|
bool ret = l.apply_once (c);
|
||||||
c->lookup_props = saved_lookup_props;
|
c->set_lookup_props (saved_lookup_props);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue