diff options
author | Scott Graham <scottmg@chromium.org> | 2012-09-17 22:46:55 (GMT) |
---|---|---|
committer | Scott Graham <scottmg@chromium.org> | 2012-09-17 22:46:55 (GMT) |
commit | 0adc69945cb9a0d6b7d150b409ddcc7194552b93 (patch) | |
tree | 9927c97a8118c6a7332df6a96d7b6a10ccab7c78 /src/msvc_helper_main-win32.cc | |
parent | d95fcb0cdc816e2585ce9a65676320d71af78c7f (diff) | |
download | Ninja-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.cc | 2 |
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()); } |