Fix a compilation error on windows.

This commit is contained in:
Alex Miller 2018-07-30 17:13:37 -07:00
parent 46fc593ab4
commit ff0e14d5a7
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public:
if (_stat( filename.c_str(), &buf ) != 0) {
throw io_error();
}
return buf->st_mtime;
return buf.st_mtime;
}
virtual void addref() { ReferenceCounted<AsyncFileWinASIO>::addref(); }