Delete unused method Win32Filesystem::GetAppPathname.
Unused since cl https://codereview.webrtc.org/2872283002. BUG=webrtc:6424 Review-Url: https://codereview.webrtc.org/2934483002 Cr-Commit-Position: refs/heads/master@{#18552}
This commit is contained in:
parent
418b7d34d1
commit
687bc3e27b
@ -174,12 +174,4 @@ bool Win32Filesystem::GetFileTime(const Pathname& path, FileTimeType which,
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Win32Filesystem::GetAppPathname(Pathname* path) {
|
||||
TCHAR buffer[MAX_PATH + 1];
|
||||
if (0 == ::GetModuleFileName(nullptr, buffer, arraysize(buffer)))
|
||||
return false;
|
||||
path->SetPathname(ToUtf8(buffer));
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace rtc
|
||||
|
||||
@ -60,10 +60,6 @@ class Win32Filesystem : public FilesystemInterface {
|
||||
bool GetTemporaryFolder(Pathname& path,
|
||||
bool create,
|
||||
const std::string* append) override;
|
||||
|
||||
private:
|
||||
// Returns the path to the running application.
|
||||
bool GetAppPathname(Pathname* path);
|
||||
};
|
||||
|
||||
} // namespace rtc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user