fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
@@ -94,7 +94,7 @@ bool get(const QJsonObject &obj, const QString &key, double &val, bool bOptional
|
||||
template <>
|
||||
bool get(const QJsonObject &obj, const QString &key, FinalAttackHeadingMode &val, bool bOptional)
|
||||
{
|
||||
int iVal;
|
||||
int iVal = 0;
|
||||
get(obj, key, iVal, bOptional);
|
||||
switch (static_cast<FinalAttackHeadingMode>(iVal))
|
||||
{
|
||||
@@ -111,7 +111,7 @@ bool get(const QJsonObject &obj, const QString &key, FinalAttackHeadingMode &val
|
||||
template <>
|
||||
bool get(const QJsonObject &obj, const QString &key, FuseType &val, bool bOptional)
|
||||
{
|
||||
int iVal;
|
||||
int iVal = 0;
|
||||
get(obj, key, iVal, bOptional);
|
||||
switch (static_cast<FuseType>(iVal))
|
||||
{
|
||||
@@ -129,7 +129,7 @@ bool get(const QJsonObject &obj, const QString &key, FuseType &val, bool bOption
|
||||
template <>
|
||||
bool get(const QJsonObject &obj, const QString &key, Heading2InitialPointMode &val, bool bOptional)
|
||||
{
|
||||
int iVal;
|
||||
int iVal = 0;
|
||||
get(obj, key, iVal, bOptional);
|
||||
switch (static_cast<Heading2InitialPointMode>(iVal))
|
||||
{
|
||||
@@ -150,7 +150,7 @@ bool get(const QJsonObject &obj, const QString &key, Heading2InitialPointMode &v
|
||||
template <>
|
||||
bool get(const QJsonObject &obj, const QString &key, Munition &val, bool bOptional)
|
||||
{
|
||||
int iVal;
|
||||
int iVal = 0;
|
||||
get(obj, key, iVal, bOptional);
|
||||
switch (static_cast<Munition>(iVal))
|
||||
{
|
||||
@@ -206,7 +206,7 @@ bool get(const QJsonObject &obj, const QString &key, Munition &val, bool bOption
|
||||
template <>
|
||||
bool get(const QJsonObject &obj, const QString &key, ReleaseMode &val, bool bOptional)
|
||||
{
|
||||
int iVal;
|
||||
int iVal = 0;
|
||||
get(obj, key, iVal, bOptional);
|
||||
switch (static_cast<ReleaseMode>(iVal))
|
||||
{
|
||||
@@ -223,7 +223,7 @@ bool get(const QJsonObject &obj, const QString &key, ReleaseMode &val, bool bOpt
|
||||
template <>
|
||||
bool get(const QJsonObject &obj, const QString &key, TimeForTargetMode &val, bool bOptional)
|
||||
{
|
||||
int iVal;
|
||||
int iVal = 0;
|
||||
get(obj, key, iVal, bOptional);
|
||||
switch (static_cast<TimeForTargetMode>(iVal))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user