src: Fixed clang warnings
This commit is contained in:
@@ -157,7 +157,7 @@ void ApplicationSettings::setScrollSpeed(float scrollSpeed)
|
||||
|
||||
bool ApplicationSettings::getLoggingEnabled() const
|
||||
{
|
||||
return getValue<float>("application/logging_enabled", false);
|
||||
return getValue<bool>("application/logging_enabled", false);
|
||||
}
|
||||
|
||||
void ApplicationSettings::setLoggingEnabled(bool loggingEnabled)
|
||||
|
||||
@@ -27,7 +27,7 @@ bool CxxProjectSettings::equalsExceptNameAndLocation(const ProjectSettings& othe
|
||||
{
|
||||
if (other.getLanguage() == getLanguage())
|
||||
{
|
||||
const CxxProjectSettings* typedOther = dynamic_cast<const CxxProjectSettings*>(&other);
|
||||
// const CxxProjectSettings* typedOther = dynamic_cast<const CxxProjectSettings*>(&other);
|
||||
return(
|
||||
ProjectSettings::equalsExceptNameAndLocation(other)// &&
|
||||
// utility::isPermutation<FilePath>(getClasspaths(), typedOther->getClasspaths())
|
||||
|
||||
@@ -10,6 +10,8 @@ std::string languageTypeToString(LanguageType t)
|
||||
return "C++";
|
||||
case LANGUAGE_JAVA:
|
||||
return "Java";
|
||||
case LANGUAGE_UNKNOWN:
|
||||
break;
|
||||
}
|
||||
return "unknown";
|
||||
}
|
||||
@@ -40,6 +42,8 @@ std::string getSymbolNameDelimiterForLanguage(LanguageType t)
|
||||
return "::";
|
||||
case LANGUAGE_JAVA:
|
||||
return ".";
|
||||
case LANGUAGE_UNKNOWN:
|
||||
break;
|
||||
}
|
||||
return "@";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user