Pass a struct stat by const reference instead of by value

This commit is contained in:
ridiculousfish 2016-01-03 12:12:42 -08:00
parent 92d0d98a24
commit c5ed4e5cdf

View File

@ -448,7 +448,7 @@ static wcstring file_get_desc(const wcstring &filename,
int lstat_res,
const struct stat &lbuf,
int stat_res,
struct stat buf,
const struct stat &buf,
int err)
{