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:
parent
0c56fa8fa0
commit
78be43888e
32 changed files with 71 additions and 56 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue