use vector instead of list for execmd arg list

This commit is contained in:
Jean-Francois Dockes
2012-04-11 15:36:49 +02:00
parent c7c9c49437
commit 78bd8d63da
14 changed files with 28 additions and 32 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ static string mimetypefromdata(const string &fn, bool usfc)
#ifdef USE_SYSTEM_FILE_COMMAND
if (usfc && mime.empty()) {
// Last resort: use "file -i"
list<string> args;
vector<string> args;
args.push_back("-i");
args.push_back(fn);