From 472cf525d71a8e8ac207bf9b39c9d627b63d11d1 Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Fri, 12 Sep 2014 19:36:58 +0100 Subject: [PATCH] Workaround error C2797 when compiling with MSVC 2013 Update 3. For more info see http://msdn.microsoft.com/en-us/library/dn793970.aspx --- src/plugins/simulator/fs9/fs9.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/simulator/fs9/fs9.h b/src/plugins/simulator/fs9/fs9.h index 996cd56a5..f404f6980 100644 --- a/src/plugins/simulator/fs9/fs9.h +++ b/src/plugins/simulator/fs9/fs9.h @@ -121,7 +121,7 @@ namespace BlackSimPlugin qint32 lon_velocity = 0; //!< Longitude velocity qint32 alt_velocity = 0; //!< Altitude velocity quint32 ground_velocity = 0; //!< Ground velocity - std::array reserved = {{0, 0, 0, 0}}; //!< Reserved + std::array reserved = std::array{{0, 0, 0, 0}}; //!< Reserved qint32 pbh = 0; //!< Pitch/Bank/Heading qint32 lat_i = 0; //!< Latitude - integer qint32 lon_hi = 0; //!< Longitude - integer