Fix compile error on Windows.
authorZachary Turner <zturner@google.com>
Tue, 29 Jul 2014 05:39:21 +0000 (05:39 +0000)
committerZachary Turner <zturner@google.com>
Tue, 29 Jul 2014 05:39:21 +0000 (05:39 +0000)
A piece of a future patch accidentally made it in, this simply
fixes the error.

llvm-svn: 214161

lldb/source/Host/common/Host.cpp

index d058c2f..32a1a08 100644 (file)
@@ -884,7 +884,7 @@ Host::GetProgramFileSpec ()
 #elif defined(_WIN32)
         std::vector<char> buffer(PATH_MAX);
         ::GetModuleFileName(NULL, &buffer[0], buffer.size());
-        g_program_filespec.SetFile(&buffer[0], false, FileSpec::ePathSyntaxWindows);
+        g_program_filespec.SetFile(&buffer[0], false);
 #endif
     }
     return g_program_filespec;