Suppress MSVC 2015 warning C4309.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-08-06 22:43:09 +03:00
parent 64ebccd94b
commit 46c295b4b1

View File

@ -310,6 +310,8 @@ void QmuParserTokenReader::SetParent ( QmuParserBase *a_pParent )
* @return The Position of the first character not listed in a_szCharSet. * @return The Position of the first character not listed in a_szCharSet.
* @throw nothrow * @throw nothrow
*/ */
QT_WARNING_PUSH
QT_WARNING_DISABLE_MSVC(4309)
int QmuParserTokenReader::ExtractToken ( const QString &a_szCharSet, QString &a_sTok, int a_iPos ) const int QmuParserTokenReader::ExtractToken ( const QString &a_szCharSet, QString &a_sTok, int a_iPos ) const
{ {
const std::wstring m_strFormulaStd = m_strFormula.toStdWString(); const std::wstring m_strFormulaStd = m_strFormula.toStdWString();
@ -366,6 +368,7 @@ int QmuParserTokenReader::ExtractOperatorToken ( QString &a_sTok, int a_iPos ) c
return ExtractToken ( QMUP_CHARS, a_sTok, a_iPos ); return ExtractToken ( QMUP_CHARS, a_sTok, a_iPos );
} }
} }
QT_WARNING_POP
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
/** /**