summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unnecessaryvirtual.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 10:26:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 10:26:46 +0200
commit4c0198b02c4a514bc61772d8c671c47c9553fd7a (patch)
tree33a5a91f23f075db507cb88672d96ea760bdc0ec /compilerplugins/clang/unnecessaryvirtual.cxx
parent03ee996717dcf9e20529a6a3295df69d0d86dcce (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/unnecessaryvirtual.cxx')
-rw-r--r--compilerplugins/clang/unnecessaryvirtual.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/unnecessaryvirtual.cxx b/compilerplugins/clang/unnecessaryvirtual.cxx
index ee3d8eced8fe..2655968c8b7c 100644
--- a/compilerplugins/clang/unnecessaryvirtual.cxx
+++ b/compilerplugins/clang/unnecessaryvirtual.cxx
@@ -66,8 +66,8 @@ public:
output += "definition:\t" + s.name + "\t" + s.sourceLocation + "\n";
for (const std::string & s : overridingSet)
output += "overriding:\t" + s + "\n";
- ofstream myfile;
- myfile.open( SRCDIR "/loplugin.unnecessaryvirtual.log", ios::app | ios::out);
+ std::ofstream myfile;
+ myfile.open( SRCDIR "/loplugin.unnecessaryvirtual.log", std::ios::app | std::ios::out);
myfile << output;
myfile.close();
}