Small windows adjustements for std::mutex changes

This commit is contained in:
Jean-Francois Dockes
2016-07-13 09:27:38 +02:00
parent ab8cf55b1f
commit 9f4e2e2646
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ bool maketmpdir(string& tdir, string& reason)
// mkdir. try to make sure that we at least don't shoot ourselves
// in the foot
static std::mutex mmutex;
std::unique_lock lock(mmutex);
std::unique_lock<std::mutex> lock(mmutex);
tdir = path_wingettempfilename(TEXT("rcltmp"));
#endif
+1 -1
View File
@@ -1240,9 +1240,9 @@ public:
((flags&SRE_NOSUB) ? regex_constants::nosubs : 0)
)), ok(true), nmatch(nm) {
}
bool ok;
std::regex expr;
std::smatch res;
bool ok;
int nmatch;
};