🏁 Code didn't compile with VS2015 Update 2 anymore

0.8
Bruno Van de Velde 2017-09-26 15:31:54 +02:00
parent 215c5da5f7
commit 4044431701
2 changed files with 2 additions and 2 deletions

View File

@ -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)
{

View File

@ -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)
{