1.1 --- a/c++/parameter-lister/info/globalcode/parameterLister/OutputModule.cpp Mon May 04 00:28:47 2015 +0200
1.2 +++ b/c++/parameter-lister/info/globalcode/parameterLister/OutputModule.cpp Mon May 04 00:29:17 2015 +0200
1.3 @@ -15,10 +15,10 @@
1.4
1.5 output << "<outputModule>" << endl;
1.6
1.7 - for_each(args.begin(), args.end(), [command, fgGreen, fgReset](string s) {
1.8 - cout << fgGreen << command << fgReset << ": " << s << endl;
1.9 + for_each(args.begin(), args.end(), [&output, command, fgGreen, fgReset](string s) {
1.10 + output << fgGreen << command << fgReset << ": " << s << endl;
1.11 });
1.12 -
1.13 +
1.14 output << "</outputModule>" << endl;
1.15 }
1.16