Commit 7ee4af85 authored by Jan's avatar Jan

Fixed remaining QElapsedTimer warnings

parent cc6949c5
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment