summaryrefslogtreecommitdiffstats
path: root/src/msvc_helper.h
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.h
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.h')
-rw-r--r--src/msvc_helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/msvc_helper.h b/src/msvc_helper.h
index f623520..c68f631 100644
--- a/src/msvc_helper.h
+++ b/src/msvc_helper.h
@@ -13,7 +13,7 @@
// limitations under the License.
#include <string>
-#include <vector>
+#include <set>
using namespace std;
/// Visual Studio's cl.exe requires some massaging to work with Ninja;
@@ -50,5 +50,5 @@ struct CLWrapper {
static bool FilterInputFilename(const string& line);
void* env_block_;
- vector<string> includes_;
+ set<string> includes_;
};