summaryrefslogtreecommitdiffstats
path: root/src/msvc_helper_main-win32.cc
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2012-09-17 22:46:55 (GMT)
committerScott Graham <scottmg@chromium.org>2012-09-17 22:46:55 (GMT)
commit0adc69945cb9a0d6b7d150b409ddcc7194552b93 (patch)
tree9927c97a8118c6a7332df6a96d7b6a10ccab7c78 /src/msvc_helper_main-win32.cc
parentd95fcb0cdc816e2585ce9a65676320d71af78c7f (diff)
downloadNinja-0adc69945cb9a0d6b7d150b409ddcc7194552b93.zip
Ninja-0adc69945cb9a0d6b7d150b409ddcc7194552b93.tar.gz
Ninja-0adc69945cb9a0d6b7d150b409ddcc7194552b93.tar.bz2
don't emit duplicate headers for msvc helper
Diffstat (limited to 'src/msvc_helper_main-win32.cc')
-rw-r--r--src/msvc_helper_main-win32.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msvc_helper_main-win32.cc b/src/msvc_helper_main-win32.cc
index 0c8db37..ed7674c 100644
--- a/src/msvc_helper_main-win32.cc
+++ b/src/msvc_helper_main-win32.cc
@@ -105,7 +105,7 @@ int MSVCHelperMain(int argc, char** argv) {
Fatal("opening %s: %s", depfile.c_str(), GetLastErrorString().c_str());
}
fprintf(output, "%s: ", output_filename);
- for (vector<string>::iterator i = cl.includes_.begin();
+ for (set<string>::iterator i = cl.includes_.begin();
i != cl.includes_.end(); ++i) {
fprintf(output, "%s\n", i->c_str());
}