Skip to content

Commit f37463b

Browse files
committed
[lldb] Another build fix for 8b8070e
This particular usage was guarded by !__linux__, so it broke everywhere else. It should probably be replaced by something else.
1 parent d8e50c9 commit f37463b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/Platform/MacOSX/PlatformRemoteMacOSX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ lldb_private::Status PlatformRemoteMacOSX::GetFileWithUUID(
161161
if (m_remote_platform_sp) {
162162
std::string local_os_build;
163163
#if !defined(__linux__)
164-
HostInfo::GetOSBuildString(local_os_build);
164+
local_os_build = HostInfo::GetOSBuildString().getValueOr("");
165165
#endif
166166
std::string remote_os_build;
167167
m_remote_platform_sp->GetOSBuildString(remote_os_build);

0 commit comments

Comments
 (0)