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
parent a9208a592b
commit d4057418da
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