[layout] Use setter method to set c->lookup_props

This commit is contained in:
Behdad Esfahbod 2015-01-28 23:01:12 -08:00
parent f4ee48fd7b
commit 7788993bc1
2 changed files with 2 additions and 2 deletions

View File

@ -1633,7 +1633,7 @@ template <typename context_t>
unsigned int saved_lookup_props = c->lookup_props;
c->set_lookup (l);
bool ret = l.apply_once (c);
c->lookup_props = saved_lookup_props;
c->set_lookup_props (saved_lookup_props);
return ret;
}

View File

@ -1382,7 +1382,7 @@ template <typename context_t>
unsigned int saved_lookup_props = c->lookup_props;
c->set_lookup (l);
bool ret = l.apply_once (c);
c->lookup_props = saved_lookup_props;
c->set_lookup_props (saved_lookup_props);
return ret;
}