Skip to content
Snippets Groups Projects
Commit 7542289a authored by Vardhan Mudunuru's avatar Vardhan Mudunuru Committed by CQ bot account: commit-bot@chromium.org
Browse files

[fidl][sdk][cpp] Make table setters chainable

This:

MyTable t;
t.set_x(1);
t.set_y(2);
MyFunction(std::move(t));

Can now be reduce to:

MyFunction(MyTable().set_x(1).set_y(2))

Test: Table.ChainSetters; all existing tests using tables also aren't
failing.

FIDL-615

Change-Id: Ieeffa04417e92df7c0bb01d3b461dd968ba33852
parent 1d9ce1ef
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment