Update ProjectVersion.h

This commit is contained in:
Alexandre Almeida
2015-01-07 21:50:26 -02:00
parent 9199d3e8c3
commit bd9cb12294

View File

@@ -32,22 +32,22 @@
class ProjectVersion : public QString
{
public:
ProjectVersion( const QString & _s ) :
QString( _s )
ProjectVersion( const QString & s ) :
QString( s )
{
}
static int compare( const ProjectVersion & _v1,
const ProjectVersion & _v2 );
static int compare( const ProjectVersion & v1,
const ProjectVersion & v2 );
} ;
inline bool operator<( const ProjectVersion & _v1, const char * _str )
inline bool operator<( const ProjectVersion & v1, const char * str )
{
return ProjectVersion::compare( _v1, ProjectVersion( _str ) ) < 0;
return ProjectVersion::compare( v1, ProjectVersion( str ) ) < 0;
}