From 93f69ad71043aa1d1d20466a2e359478b2e7b8d8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 3 Oct 2012 11:33:30 +0200 Subject: -Werror,-Wheader-hygiene Change-Id: Icac29e4f433b1e72603e52a0561e60cb8a7cfdef --- soltools/mkdepend/collectdircontent.cxx | 2 ++ soltools/mkdepend/collectdircontent.hxx | 14 ++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'soltools') diff --git a/soltools/mkdepend/collectdircontent.cxx b/soltools/mkdepend/collectdircontent.cxx index 884456a382c9..2bb66ff61763 100644 --- a/soltools/mkdepend/collectdircontent.cxx +++ b/soltools/mkdepend/collectdircontent.cxx @@ -1,6 +1,8 @@ /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include "collectdircontent.hxx" +using namespace std; + PathFilePair IncludesCollection::split_path(const string& filePath) { string sepU = "/"; string sepW = "\\"; diff --git a/soltools/mkdepend/collectdircontent.hxx b/soltools/mkdepend/collectdircontent.hxx index 0c6b42357855..4980632e2fe3 100644 --- a/soltools/mkdepend/collectdircontent.hxx +++ b/soltools/mkdepend/collectdircontent.hxx @@ -17,22 +17,20 @@ #include -using namespace std; - -typedef set DirContent; -typedef map DirMap; +typedef std::set DirContent; +typedef std::map DirMap; typedef DirMap::value_type EntriesPair; -typedef pair PathFilePair; +typedef std::pair PathFilePair; struct IncludesCollection { private: DirMap allIncludes; - PathFilePair split_path(const string& filePath); - void add_to_collection(const string& dirPath); + PathFilePair split_path(const std::string& filePath); + void add_to_collection(const std::string& dirPath); public: - bool exists(string filePath); + bool exists(std::string filePath); }; #else -- cgit v1.2.3