Fixing many clang warnings.
This commit is contained in:
@@ -22,20 +22,20 @@ class HostPathEntry : public Entry {
|
||||
public:
|
||||
HostPathEntry(Type type, Device* device, const char* path,
|
||||
const std::wstring& local_path);
|
||||
virtual ~HostPathEntry();
|
||||
~HostPathEntry() override;
|
||||
|
||||
const std::wstring& local_path() { return local_path_; }
|
||||
|
||||
virtual X_STATUS QueryInfo(XFileInfo* out_info);
|
||||
virtual X_STATUS QueryDirectory(XDirectoryInfo* out_info, size_t length,
|
||||
const char* file_name, bool restart);
|
||||
X_STATUS QueryInfo(XFileInfo* out_info) override;
|
||||
X_STATUS QueryDirectory(XDirectoryInfo* out_info, size_t length,
|
||||
const char* file_name, bool restart) override;
|
||||
|
||||
virtual bool can_map() { return true; }
|
||||
virtual std::unique_ptr<MemoryMapping> CreateMemoryMapping(
|
||||
Mode map_mode, const size_t offset, const size_t length);
|
||||
bool can_map() override { return true; }
|
||||
std::unique_ptr<MemoryMapping> CreateMemoryMapping(
|
||||
Mode map_mode, const size_t offset, const size_t length) override;
|
||||
|
||||
virtual X_STATUS Open(KernelState* kernel_state, Mode mode, bool async,
|
||||
XFile** out_file);
|
||||
X_STATUS Open(KernelState* kernel_state, Mode mode, bool async,
|
||||
XFile** out_file) override;
|
||||
|
||||
private:
|
||||
std::wstring local_path_;
|
||||
|
||||
Reference in New Issue
Block a user