diff --git a/src/OpenMesh/Apps/Decimating/decimater.cc b/src/OpenMesh/Apps/Decimating/decimater.cc index 712d6b28..9d60c5be 100644 --- a/src/OpenMesh/Apps/Decimating/decimater.cc +++ b/src/OpenMesh/Apps/Decimating/decimater.cc @@ -489,15 +489,11 @@ int main(int argc, char* argv[]) std::clog << " Input file: " << ifname << std::endl; std::clog << " Output file: " << ofname << std::endl; std::clog << " #collapses: " << opt.n_collapses << std::endl; - } - //---------------------------------------- + //---------------------------------------- - - if (gverbose) - { std::clog << "Begin decimation" << std::endl; } @@ -512,6 +508,7 @@ int main(int argc, char* argv[]) } //---------------------------------------- + return 0; } diff --git a/src/OpenMesh/Core/Utils/PropertyManager.hh b/src/OpenMesh/Core/Utils/PropertyManager.hh index 93dac7b3..86d5fe3a 100644 --- a/src/OpenMesh/Core/Utils/PropertyManager.hh +++ b/src/OpenMesh/Core/Utils/PropertyManager.hh @@ -286,7 +286,7 @@ class PropertyManager { Storage::swap(rhs, *this); } - static bool propertyExists(PolyConnectivity &mesh, const char *propname) { + static bool propertyExists(const PolyConnectivity &mesh, const char *propname) { PROPTYPE dummy; return mesh.get_property_handle(dummy, propname); }