diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-20 10:26:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-20 10:26:46 +0200 |
commit | 4c0198b02c4a514bc61772d8c671c47c9553fd7a (patch) | |
tree | 33a5a91f23f075db507cb88672d96ea760bdc0ec /compilerplugins/clang/mergeclasses.cxx | |
parent | 03ee996717dcf9e20529a6a3295df69d0d86dcce (diff) |
reformat some loplugin code
to match our more normal conventions.
Also drop the 'using std' and some other cruft
Change-Id: I02ef81c5427188bc03a20b157a57a900a9d7bf0d
Diffstat (limited to 'compilerplugins/clang/mergeclasses.cxx')
-rw-r--r-- | compilerplugins/clang/mergeclasses.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/mergeclasses.cxx b/compilerplugins/clang/mergeclasses.cxx index a3ba0cc95d21..90c5cbe72d5e 100644 --- a/compilerplugins/clang/mergeclasses.cxx +++ b/compilerplugins/clang/mergeclasses.cxx @@ -65,8 +65,8 @@ public: output += "has-subclass:\t" + s.first + "\t" + s.second + "\n"; for (const std::pair<std::string,std::string> & s : definitionMap) output += "definition:\t" + s.first + "\t" + s.second + "\n"; - ofstream myfile; - myfile.open( SRCDIR "/loplugin.mergeclasses.log", ios::app | ios::out); + std::ofstream myfile; + myfile.open( SRCDIR "/loplugin.mergeclasses.log", std::ios::app | std::ios::out); myfile << output; myfile.close(); } |