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

View file

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