From: Oleksiy Vyalov Date: Fri, 29 May 2015 20:32:26 +0000 (+0000) Subject: Fix build - GetRemoteWorkingDirectory returns FileSpec instead of ConstString. X-Git-Tag: llvmorg-3.7.0-rc1~3428 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=671a194d88aaac0690666030ce163494c5903454;p=platform%2Fupstream%2Fllvm.git Fix build - GetRemoteWorkingDirectory returns FileSpec instead of ConstString. llvm-svn: 238610 --- 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 ()); }