From 671a194d88aaac0690666030ce163494c5903454 Mon Sep 17 00:00:00 2001 From: Oleksiy Vyalov Date: Fri, 29 May 2015 20:32:26 +0000 Subject: [PATCH] Fix build - GetRemoteWorkingDirectory returns FileSpec instead of ConstString. llvm-svn: 238610 --- lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp b/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp index 34df5a9..898d13e 100644 --- a/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp +++ b/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp @@ -219,7 +219,7 @@ PlatformAndroid::GetFile (const FileSpec& source, const auto source_path = source_spec.GetPath (false); if (llvm::sys::path::is_relative (source_path.c_str ())) { - source_spec.SetFile (GetRemoteWorkingDirectory ().AsCString (), false, FileSpec::ePathSyntaxPosix); + source_spec = GetRemoteWorkingDirectory (); source_spec.AppendPathComponent (source_path.c_str ()); } -- 2.7.4