Fix build with latest Visual Studio

This fiixes:

error C2797: list initialization inside member initializer list or
non-static data member initializer is not implemented

http://msdn.microsoft.com/en-us/library/dn793970.aspx
This commit is contained in:
Khaled Hosny 2014-11-23 15:24:29 +02:00 committed by Thomas Goyne
parent 0140131446
commit 88017c88f5
1 changed files with 2 additions and 2 deletions

View File

@ -129,13 +129,13 @@ struct AssDialogueBase {
/// Layer number
int Layer = 0;
/// Margins: 0 = Left, 1 = Right, 2 = Top (Vertical)
std::array<int, 3> Margin = {{0, 0, 0}};
std::array<int, 3> Margin = std::array<int, 3>{{ 0, 0, 0 }};
/// Starting time
agi::Time Start = 0;
/// Ending time
agi::Time End = 5000;
/// Style name
boost::flyweight<std::string> Style{ "Default" };
boost::flyweight<std::string> Style = boost::flyweight<std::string>("Default");
/// Actor name
boost::flyweight<std::string> Actor;
/// Effect name