summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/UserSettingsController.cpp
diff options
context:
space:
mode:
authorOleksiy Vyalov <ovyalov@google.com>2016-07-06 02:20:39 +0000
committerOleksiy Vyalov <ovyalov@google.com>2016-07-06 02:20:39 +0000
commit58dedd8144c41d4fda6f02bb60bee59963c33ef5 (patch)
tree1a3a08a363423483f8090a7ba9dbafff5524f317 /lldb/source/Core/UserSettingsController.cpp
parent8b57dcf829ddb3940d9703edc0a071c1c99f768e (diff)
downloadbcm5719-llvm-58dedd8144c41d4fda6f02bb60bee59963c33ef5.tar.gz
bcm5719-llvm-58dedd8144c41d4fda6f02bb60bee59963c33ef5.zip
Fix Linux build.
llvm-svn: 274594
Diffstat (limited to 'lldb/source/Core/UserSettingsController.cpp')
-rw-r--r--lldb/source/Core/UserSettingsController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/UserSettingsController.cpp b/lldb/source/Core/UserSettingsController.cpp
index 718c12d21a6..cf8fd827147 100644
--- a/lldb/source/Core/UserSettingsController.cpp
+++ b/lldb/source/Core/UserSettingsController.cpp
@@ -121,7 +121,7 @@ Properties::IsSettingExperimental(const char *setting)
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
OpenPOWER on IntegriCloud