Skip to content
Snippets Groups Projects
Commit 7ee4af85 authored by Jan's avatar Jan
Browse files

Fixed remaining QElapsedTimer warnings

parent cc6949c5
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,8 @@
#include <ObjectTypes/PolyMesh/PolyMesh.hh>
#include <ObjectTypes/TriangleMesh/TriangleMesh.hh>
#include <QElapsedTimer>
#ifdef USE_OPENMP
#endif
......@@ -112,7 +114,7 @@ void LaplaceLengthPlugin::computeLaplaceLength(MeshT* _mesh) {
_mesh->add_property( laplace_length_property, UNIFORM_LAPLACE_NAME );
QTime time;
QElapsedTimer time;
time.start();
std::vector< typename MeshT::VertexHandle > handles;
handles.reserve(_mesh->n_vertices());
......@@ -157,7 +159,7 @@ void LaplaceLengthPlugin::computeLaplaceSquaredLength(MeshT* _mesh) {
if(!_mesh->get_property_handle( laplace_squared , UNIFORM_LAPLACE_SQUARED_NAME ))
_mesh->add_property( laplace_squared, UNIFORM_LAPLACE_SQUARED_NAME );
QTime time;
QElapsedTimer time;
time.start();
std::vector< typename MeshT::VertexHandle > handles;
handles.reserve(_mesh->n_vertices());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment