Explorar el Código

Suppression de code mort

Rémi Synave hace 2 años
padre
commit
a156455a3a
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      StrengthLine/StrengthLine.cpp

+ 0 - 1
StrengthLine/StrengthLine.cpp

@@ -173,7 +173,6 @@ std::pair < QPoint *, QPoint * >StrengthLine::interpolateToEdge (int imgWidth, i
 
 float StrengthLine::ea_score(const StrengthLine *sl, double imgWidth, double imgHeight) const
 {
-  std::srand(static_cast<unsigned int>(std::time(nullptr)+std::rand()));
   std::pair < QPoint*, QPoint* > pointsSL1 = this->interpolateToEdge (imgWidth, imgHeight);
   std::pair < QPoint*, QPoint* > pointsSL2 = sl->interpolateToEdge (imgWidth, imgHeight);
   QPoint* p1SL1 = std::get < 0 > (pointsSL1);