Мелкие правки
This commit is contained in:
parent
e27d6c4476
commit
ff188d68aa
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user