mirror of https://github.com/odrling/Aegisub
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:
parent
a9208a592b
commit
d4057418da
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue