Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include/AdblockPlus/FileSystem.h

Issue 10518027: Don`t use stat() on Windows, use a Unicode-safe Windows function instead (Closed)
Patch Set: Addressed review comments Created May 17, 2013, 10:44 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/DefaultFileSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/FileSystem.h
===================================================================
--- a/include/AdblockPlus/FileSystem.h
+++ b/include/AdblockPlus/FileSystem.h
@@ -26,22 +26,22 @@
namespace AdblockPlus
{
class FileSystem
{
public:
struct StatResult
{
- inline StatResult()
+ StatResult()
{
exists = false;
isDirectory = false;
isFile = false;
- lastModified = false;
+ lastModified = 0;
}
bool exists;
bool isDirectory;
bool isFile;
int64_t lastModified;
};
« no previous file with comments | « no previous file | src/DefaultFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld