Update for move of string conversion functions into base::
This commit is contained in:
parent
08c017bd7d
commit
1269e59a35
1 changed files with 2 additions and 2 deletions
|
@ -10,14 +10,14 @@ std::string GetApplicationName() {
|
||||||
auto module = GetModuleHandle(nullptr);
|
auto module = GetModuleHandle(nullptr);
|
||||||
auto info = make_scoped_ptr(
|
auto info = make_scoped_ptr(
|
||||||
FileVersionInfo::CreateFileVersionInfoForModule(module));
|
FileVersionInfo::CreateFileVersionInfoForModule(module));
|
||||||
return UTF16ToUTF8(info->product_name());
|
return base::UTF16ToUTF8(info->product_name());
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string GetApplicationVersion() {
|
std::string GetApplicationVersion() {
|
||||||
auto module = GetModuleHandle(nullptr);
|
auto module = GetModuleHandle(nullptr);
|
||||||
auto info = make_scoped_ptr(
|
auto info = make_scoped_ptr(
|
||||||
FileVersionInfo::CreateFileVersionInfoForModule(module));
|
FileVersionInfo::CreateFileVersionInfoForModule(module));
|
||||||
return UTF16ToUTF8(info->product_version());
|
return base::UTF16ToUTF8(info->product_version());
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace brightray
|
} // namespace brightray
|
||||||
|
|
Loading…
Reference in a new issue