]> git.lyx.org Git - features.git/blobdiff - src/support/tempname.C
tostr -> convert and some bformat work
[features.git] / src / support / tempname.C
index d80e3b9795f7a2fd4f69233773bb506206b37e05..420231207684d55a86b45bdfcedc35d75f799e26 100644 (file)
@@ -55,7 +55,7 @@ string const lyx::support::tempName(string const & dir, string const & mask)
 {
        string const tmpdir(dir.empty() ? os::getTmpDir() : dir);
        string tmpfl(AddName(tmpdir, mask));
-       tmpfl += tostr(getpid());
+       tmpfl += convert<string>(getpid());
        tmpfl += "XXXXXX";
 
        // The supposedly safe mkstemp version