[Assorted-commits] SF.net SVN: assorted:[1497] sandbox/trunk/src/cc/c++0x.cc
Brought to you by:
yangzhang
From: <yan...@us...> - 2009-11-03 21:32:38
|
Revision: 1497 http://assorted.svn.sourceforge.net/assorted/?rev=1497&view=rev Author: yangzhang Date: 2009-11-03 21:32:27 +0000 (Tue, 03 Nov 2009) Log Message: ----------- tweak Modified Paths: -------------- sandbox/trunk/src/cc/c++0x.cc Modified: sandbox/trunk/src/cc/c++0x.cc =================================================================== --- sandbox/trunk/src/cc/c++0x.cc 2009-11-03 21:29:38 UTC (rev 1496) +++ sandbox/trunk/src/cc/c++0x.cc 2009-11-03 21:32:27 UTC (rev 1497) @@ -22,7 +22,7 @@ // new function class // could also use `auto` here // here's a lambda that captures x by value - function<void()> f = [x]{ + function<void()> f = [=]{ // new chrono class std::this_thread::sleep_for( chrono::seconds(x->first)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |