Fixed crash when computing homographies (std::vector() out of bound error)

This commit is contained in:
matlabbe
2016-01-17 11:26:12 -05:00
parent 6dc66d5730
commit c6ee7a27ef
2 changed files with 15 additions and 3 deletions
-2
View File
@@ -76,7 +76,6 @@ class TcpServerPool : public QObject
Q_OBJECT;
public:
TcpServerPool(find_object::FindObject * sharedFindObject, int threads, int port) :
sharedFindObject_(sharedFindObject),
sharedSemaphore_(threads)
{
UASSERT(sharedFindObject != 0);
@@ -120,7 +119,6 @@ public:
}
private:
find_object::FindObject * sharedFindObject_;
QVector<QThread*> threadPool_;
QSemaphore sharedSemaphore_;
};