Fixed 2 more warnings

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@944 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-08-21 12:03:51 +00:00
parent 5822351444
commit f37ee2d46b
3 changed files with 6 additions and 8 deletions

View File

@@ -141,11 +141,7 @@ public: // inherited
{
std::cout << "prepare decimater" << std::endl;
// to be compatible with gcc 2.95.3
{
decimater_o tmp( new decimater_t ( mesh() ) );
decimater_ = tmp;
}
decimater_ = decimater_o ( new decimater_t ( mesh() ) );
decimater_->add(mod_quadric_);
decimater_->module(mod_quadric_).set_binary(false);