[Lldb-commits] [lldb] r274594 - Fix Linux build.
Oleksiy Vyalov via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 5 19:20:40 PDT 2016
Author: ovyalov
Date: Tue Jul 5 21:20:39 2016
New Revision: 274594
URL: http://llvm.org/viewvc/llvm-project?rev=274594&view=rev
Log:
Fix Linux build.
Modified:
lldb/trunk/source/Core/UserSettingsController.cpp
Modified: lldb/trunk/source/Core/UserSettingsController.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/UserSettingsController.cpp?rev=274594&r1=274593&r2=274594&view=diff
==============================================================================
--- lldb/trunk/source/Core/UserSettingsController.cpp (original)
+++ lldb/trunk/source/Core/UserSettingsController.cpp Tue Jul 5 21:20:39 2016
@@ -121,7 +121,7 @@ Properties::IsSettingExperimental(const
return false;
const char *experimental = GetExperimentalSettingsName();
- char *dot_pos = strchr(setting, '.');
+ auto dot_pos = strchr(setting, '.');
if (dot_pos == nullptr)
return strcmp(experimental, setting) == 0;
else
More information about the lldb-commits
mailing list