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/unusedenumconstants.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/unusedenumconstants.cxx')
-rw-r--r-- | compilerplugins/clang/unusedenumconstants.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/unusedenumconstants.cxx b/compilerplugins/clang/unusedenumconstants.cxx index ac4b5c07fa45..a2f052339e84 100644 --- a/compilerplugins/clang/unusedenumconstants.cxx +++ b/compilerplugins/clang/unusedenumconstants.cxx @@ -77,8 +77,8 @@ public: output += "write:\t" + s.parentClass + "\t" + s.fieldName + "\n"; for (const MyFieldInfo & s : readSet) output += "read:\t" + s.parentClass + "\t" + s.fieldName + "\n"; - ofstream myfile; - myfile.open( SRCDIR "/loplugin.unusedenumconstants.log", ios::app | ios::out); + std::ofstream myfile; + myfile.open( SRCDIR "/loplugin.unusedenumconstants.log", std::ios::app | std::ios::out); myfile << output; myfile.close(); } |