Мелкие правки

This commit is contained in:
Andrei Astafev 2020-03-31 00:47:10 +03:00
parent e27d6c4476
commit ff188d68aa
4 changed files with 5 additions and 5 deletions

View File

@ -122,7 +122,7 @@ CheckOptions:
- key: readability-identifier-naming.GlobalConstantPointerSuffix
value: ''
- key: readability-identifier-naming.GlobalFunctionCase
value: camelBack
value: lower_case
- key: readability-identifier-naming.GlobalFunctionPrefix
value: ''
- key: readability-identifier-naming.GlobalFunctionSuffix

View File

@ -11,7 +11,7 @@ namespace myx {
namespace filesystem {
CurrentExecutable::CurrentExecutable() :
m_procFilePath( "/proc/self/exe" )
m_procFilePath( QStringLiteral( "/proc/self/exe" ) )
{
auto canonicalFilePath = m_procFilePath.canonicalFilePath();
auto canonicalPath = m_procFilePath.canonicalPath();

View File

@ -80,7 +80,7 @@ Paths::Paths( QString configFileExtension ) :
if ( m_tempDirectory.absolutePath().isEmpty() || ( m_tempDirectory.path() == "." ) )
{
m_tempDirectory = _PATH_TMP;
m_tempDirectory = QStringLiteral( _PATH_TMP );
}
}

View File

@ -22,7 +22,7 @@ bool almost_equal_ulps( const float a, const float b,
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wfloat-equal"
#endif
if ( a == b )
if ( a == b ) // -V550
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
@ -58,7 +58,7 @@ bool almost_equal_ulps( const double a, const double b,
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wfloat-equal"
#endif
if ( a == b )
if ( a == b ) // -V550
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif