🏁 Code didn't compile with VS2015 Update 2 anymore
parent
215c5da5f7
commit
4044431701
|
@ -402,7 +402,7 @@ namespace tgui
|
|||
|
||||
auto rendererData = RendererData::create();
|
||||
for (const auto& pair : node->propertyValuePairs)
|
||||
rendererData->propertyValuePairs[pair.first] = {pair.second->value};
|
||||
rendererData->propertyValuePairs[pair.first] = ObjectConverter(pair.second->value); // Did not compile with VS2015 Update 2 when using braces
|
||||
|
||||
for (const auto& child : node->children)
|
||||
{
|
||||
|
|
|
@ -183,7 +183,7 @@ namespace tgui
|
|||
rendererData->shared = false;
|
||||
|
||||
for (const auto& pair : childNode->propertyValuePairs)
|
||||
rendererData->propertyValuePairs[pair.first] = {pair.second->value};
|
||||
rendererData->propertyValuePairs[pair.first] = ObjectConverter(pair.second->value); // Did not compile with VS2015 Update 2 when using braces
|
||||
|
||||
for (const auto& nestedProperty : childNode->children)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue