diff options
Diffstat (limited to 'plugins/New_GPG/src/init.cpp')
-rwxr-xr-x | plugins/New_GPG/src/init.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/New_GPG/src/init.cpp b/plugins/New_GPG/src/init.cpp index fc83d06c14..1736462b5e 100755 --- a/plugins/New_GPG/src/init.cpp +++ b/plugins/New_GPG/src/init.cpp @@ -215,9 +215,9 @@ extern "C" int __declspec(dllexport) Unload(void) { if(!transfers.empty()) { - for(list<wstring>::iterator p = transfers.begin(); p != transfers.end(); p++) - if(!(*p).empty()) - boost::filesystem::remove((*p)); + for(auto p : transfers) + if(!p.empty()) + boost::filesystem::remove(p); } mir_free(globals.inopentag); mir_free(globals.inclosetag); |