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

Removed the OS X 10.5 and 10.6 deployment target options from the Projucer and enabled more C++11 features across all platforms

This commit is contained in:
Tom Poole 2018-04-17 18:46:55 +01:00
parent 45bfb9d095
commit c7c26fa9f0
33 changed files with 184 additions and 534 deletions

View file

@ -588,7 +588,6 @@ ValueTree::ValueTree (const Identifier& type) : object (new ValueTree::SharedOb
jassert (type.toString().isNotEmpty()); // All objects must be given a sensible type name!
}
#if JUCE_COMPILER_SUPPORTS_INITIALIZER_LISTS
ValueTree::ValueTree (const Identifier& type,
std::initializer_list<std::pair<Identifier, var>> properties,
std::initializer_list<ValueTree> subTrees)
@ -600,7 +599,6 @@ ValueTree::ValueTree (const Identifier& type,
for (auto& tree : subTrees)
addChild (tree, -1, nullptr);
}
#endif
ValueTree::ValueTree (SharedObject* so) noexcept : object (so)
{

View file

@ -88,7 +88,6 @@ public:
*/
explicit ValueTree (const Identifier& type);
#if JUCE_COMPILER_SUPPORTS_INITIALIZER_LISTS
/** Creates a value tree from nested lists of properties and ValueTrees.
This code,
@ -131,7 +130,6 @@ public:
ValueTree (const Identifier& type,
std::initializer_list<std::pair<Identifier, var>> properties,
std::initializer_list<ValueTree> subTrees = {});
#endif
/** Creates a reference to another ValueTree. */
ValueTree (const ValueTree&) noexcept;