Commit 7ee4af85 authored by Jan's avatar Jan
Browse files

Fixed remaining QElapsedTimer warnings

parent cc6949c5
...@@ -48,6 +48,8 @@ ...@@ -48,6 +48,8 @@
#include <ObjectTypes/PolyMesh/PolyMesh.hh> #include <ObjectTypes/PolyMesh/PolyMesh.hh>
#include <ObjectTypes/TriangleMesh/TriangleMesh.hh> #include <ObjectTypes/TriangleMesh/TriangleMesh.hh>
#include <QElapsedTimer>
#ifdef USE_OPENMP #ifdef USE_OPENMP
#endif #endif
...@@ -112,7 +114,7 @@ void LaplaceLengthPlugin::computeLaplaceLength(MeshT* _mesh) { ...@@ -112,7 +114,7 @@ void LaplaceLengthPlugin::computeLaplaceLength(MeshT* _mesh) {
_mesh->add_property( laplace_length_property, UNIFORM_LAPLACE_NAME ); _mesh->add_property( laplace_length_property, UNIFORM_LAPLACE_NAME );
QTime time; QElapsedTimer time;
time.start(); time.start();
std::vector< typename MeshT::VertexHandle > handles; std::vector< typename MeshT::VertexHandle > handles;
handles.reserve(_mesh->n_vertices()); handles.reserve(_mesh->n_vertices());
...@@ -157,7 +159,7 @@ void LaplaceLengthPlugin::computeLaplaceSquaredLength(MeshT* _mesh) { ...@@ -157,7 +159,7 @@ void LaplaceLengthPlugin::computeLaplaceSquaredLength(MeshT* _mesh) {
if(!_mesh->get_property_handle( laplace_squared , UNIFORM_LAPLACE_SQUARED_NAME )) if(!_mesh->get_property_handle( laplace_squared , UNIFORM_LAPLACE_SQUARED_NAME ))
_mesh->add_property( laplace_squared, UNIFORM_LAPLACE_SQUARED_NAME ); _mesh->add_property( laplace_squared, UNIFORM_LAPLACE_SQUARED_NAME );
QTime time; QElapsedTimer time;
time.start(); time.start();
std::vector< typename MeshT::VertexHandle > handles; std::vector< typename MeshT::VertexHandle > handles;
handles.reserve(_mesh->n_vertices()); handles.reserve(_mesh->n_vertices());
......
Supports Markdown
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