Skip to content

Commit 9df5124

Browse files
committed
Don't hardcode cout.
Suggested by Guido Ziliotti. [SVN r47285]
1 parent 86487c7 commit 9df5124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/options_description.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using namespace std;
1818
template<class T>
1919
ostream& operator<<(ostream& os, const vector<T>& v)
2020
{
21-
copy(v.begin(), v.end(), ostream_iterator<T>(cout, " "));
21+
copy(v.begin(), v.end(), ostream_iterator<T>(os, " "));
2222
return os;
2323
}
2424

0 commit comments

Comments
 (0)