DescriptionFix name conflict with FileSystemType from winnt.h
winnt.h has this enum in global scope:
typedef enum _CM_SERVICE_NODE_TYPE {
...
FileSystemType = SERVICE_FILE_SYSTEM_DRIVER,
...
} SERVICE_NODE_TYPE;
Clang complains that references to FileSystemType are ambiguous. It
suggests using 'enum FileSystemType' to resolve the ambiguity, but that
seems weird in C++.
Instead, I changed the uses in this file to fileapi::FileSystemType and
left a comment where the using decl would naturally go.
R=kinuko@chromium.org
BUG=82385
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200813
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|