File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,10 +173,10 @@ namespace example3
173173 public:
174174 USING_REACTIVE_DOMAIN (D)
175175
176- VarSignalT<string> Label1 = MakeVar<D>(string( " Change" ));;
177- VarSignalT<string> Label2 = MakeVar<D>(string( " me!" ));;
176+ VarSignalT<string> Label1 = MakeVar<D>(string( " Change" ));
177+ VarSignalT<string> Label2 = MakeVar<D>(string( " me!" ));
178178
179- EventSourceT<> Reset = MakeEventSource<D,Token >();
179+ EventSourceT<> Reset = MakeEventSource<D>();
180180
181181 Widget () :
182182 resetCont_
@@ -199,14 +199,13 @@ namespace example3
199199 cout << " Example 3 - Continuations (1)" << endl;
200200
201201 Widget myWidget;
202- int sum = 0 ;
203202
204203 Observe (myWidget.Label1 , [&] (const string& v) {
205- cout << " Label 1 changed to " << v << endl;;
204+ cout << " Label 1 changed to " << v << endl;
206205 });
207206
208207 Observe (myWidget.Label2 , [&] (const string& v) {
209- cout << " Label 2 changed to " << v << endl;;
208+ cout << " Label 2 changed to " << v << endl;
210209 });
211210
212211 myWidget.Label1 <<= " Hello" ;
You can’t perform that action at this time.
0 commit comments