Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: tools/win/supalink/supalink.cpp

Issue 9958156: Add #include <iterator> to files that use std::back_inserter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/safe_browsing/prefix_set_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <windows.h> 5 #include <windows.h>
6 #include <algorithm> 6
7 #include <stdio.h> 7 #include <stdio.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9
10 #include <algorithm>
11 #include <iterator>
9 #include <string> 12 #include <string>
10 13
11 using namespace std; 14 using namespace std;
12 15
13 // Don't use stderr for errors because VS has large buffers on them, leading 16 // Don't use stderr for errors because VS has large buffers on them, leading
14 // to confusing error output. 17 // to confusing error output.
15 static void Fatal(const wchar_t* msg) { 18 static void Fatal(const wchar_t* msg) {
16 wprintf(L"supalink fatal error: %s\n", msg); 19 wprintf(L"supalink fatal error: %s\n", msg);
17 exit(1); 20 exit(1);
18 } 21 }
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 DumpFile(backup_copy.c_str(), fixed); 190 DumpFile(backup_copy.c_str(), fixed);
188 191
189 end_time = GetTickCount64(); 192 end_time = GetTickCount64();
190 193
191 wprintf(L" took %.2fs to modify @rsp file\n", 194 wprintf(L" took %.2fs to modify @rsp file\n",
192 (end_time - start_time) / 1000.0); 195 (end_time - start_time) / 1000.0);
193 } 196 }
194 197
195 Fallback(); 198 Fallback();
196 } 199 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/prefix_set_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698