1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Update the minimum C++ standard to C++14

This commit is contained in:
Tom Poole 2021-06-24 13:56:15 +01:00
parent 0c56fa8fa0
commit 78be43888e
32 changed files with 71 additions and 56 deletions

View file

@ -214,7 +214,7 @@ bool Project::setCppVersionFromOldExporterSettings()
}
}
if (highestLanguageStandard != -1 && highestLanguageStandard >= 11)
if (highestLanguageStandard >= 14)
{
cppStandardValue = highestLanguageStandard;
return true;
@ -225,6 +225,9 @@ bool Project::setCppVersionFromOldExporterSettings()
void Project::updateDeprecatedProjectSettings()
{
if (cppStandardValue.get().toString() == "11")
cppStandardValue.resetToDefault();
for (ExporterIterator exporter (*this); exporter.next();)
exporter->updateDeprecatedSettings();
}