Fix Linux build.

llvm-svn: 274594
This commit is contained in:
Oleksiy Vyalov
2016-07-06 02:20:39 +00:00
parent 8b57dcf829
commit 58dedd8144

View File

@@ -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