Cppcheck warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-06-18 16:04:50 +03:00
parent 695dda1449
commit a4a6b18561
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ int VLayoutGenerator::DetailsCount()
}
//---------------------------------------------------------------------------------------------------------------------
void VLayoutGenerator::Generate(QElapsedTimer timer, qint64 timeout, LayoutErrors previousState)
void VLayoutGenerator::Generate(const QElapsedTimer &timer, qint64 timeout, LayoutErrors previousState)
{
stopGeneration.store(false);
papers.clear();

View File

@ -79,7 +79,7 @@ public:
qreal GetShift() const;
void SetShift(qreal shift);
void Generate(QElapsedTimer timer, qint64 timeout, LayoutErrors previousState = LayoutErrors::NoError);
void Generate(const QElapsedTimer &timer, qint64 timeout, LayoutErrors previousState = LayoutErrors::NoError);
qreal LayoutEfficiency() const;