Commit cac35caa authored by Jan Möbius's avatar Jan Möbius
Browse files

Tobias: Fixed warnings



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14996 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 679628af
......@@ -231,7 +231,7 @@ public:
class SplatPropertyMapEntry
{
public:
SplatPropertyMapEntry() { } //!< Standard constructor
SplatPropertyMapEntry() : property_( 0 ), numRequests_( 0 ) { } //!< Standard constructor
SplatPropertyMapEntry( SplatPropertyInterface *_prop, unsigned int _num ) : property_( _prop ), numRequests_( _num ) { } //!< Constructor
public:
SplatPropertyInterface *property_; //!< A valid pointer to a splat-property
......@@ -244,7 +244,7 @@ public:
class CloudPropertyMapEntry
{
public:
CloudPropertyMapEntry() { } //!< Standard constructor
CloudPropertyMapEntry() : property_( 0 ), numRequests_( 0 ) { } //!< Standard constructor
CloudPropertyMapEntry( CloudPropertyInterface *_prop, unsigned int _num ) : property_( _prop ), numRequests_( _num ) { } //!< Constructor
public:
CloudPropertyInterface *property_; //!< A valid pointer to a cloud-property
......@@ -286,7 +286,6 @@ public:
typedef typename std::vector<T>::const_reference ConstReference; //!< These are used because a std::vector<bool>::reference is *not* the same as a reference to bool.
public:
explicit inline SplatPropertyT<T>( const PropertyHandleT<T> &_handle, unsigned int _num ) : data_( _num ) { } //!< Constructor
inline SplatPropertyT<T>( const SplatPropertyT<T> &_property ) { data_ = _property.data_; } //!< Copy constructor
inline Reference data( int _idx ) { return data_[ _idx ]; } //!< Access the data as reference.
inline ConstReference data( int _idx ) const { return data_[ _idx ]; } //!< Access the data as const reference.
public:
......@@ -318,7 +317,6 @@ public:
typedef const T & ConstReference; //!< These are used only out of a consistency reason to the class SplatPropertyT<T>.
public:
explicit inline CloudPropertyT<T>( const PropertyHandleT<T> &_handle ) { } //!< Constructor
inline CloudPropertyT<T>( const CloudPropertyT<T> &_property ) { data_ = _property.data_; } //!< Copy constructor
inline Reference data() { return data_; } //!< Access the data as reference.
inline ConstReference data() const { return data_; } //!< Access the data as const reference.
public:
......
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2011 by Computer Graphics Group, RWTH Aachen *
* www.openflipper.org *
* *
*--------------------------------------------------------------------------- *
* This file is part of OpenFlipper. *
* *
* OpenFlipper is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of *
* the License, or (at your option) any later version with the *
* following exceptions: *
* *
* If other files instantiate templates or use macros *
* or inline functions from this file, or you compile this file and *
* link it with other files to produce an executable, this file does *
* not by itself cause the resulting executable to be covered by the *
* GNU Lesser General Public License. This exception does not however *
* invalidate any other reasons why the executable file might be *
* covered by the GNU Lesser General Public License. *
* *
* OpenFlipper is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU LesserGeneral Public *
* License along with OpenFlipper. If not, *
* see <http://www.gnu.org/licenses/>. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: 14995 $ *
* $LastChangedBy: moebius $ *
* $Date: 2012-07-13 13:19:15 +0200 (Fri, 13 Jul 2012) $ *
* *
\*===========================================================================*/
//================================================================
//
// CLASS SplatCloud - TEMPLATE IMPLEMENTATION
......
......@@ -92,6 +92,8 @@ SplatCloudBackup::~SplatCloudBackup()
# ifdef REPORT_BACKUP
std::cerr << "Delete SplatCloudBackup with name: \"" << name_.toStdString() << "\" (id: " << id_ << ")." << std::endl;
# endif
delete splatCloudBackup_;
}
......
......@@ -40,6 +40,7 @@
* *
\*===========================================================================*/
#ifndef SPLATCLOUDBACKUP_HH
#define SPLATCLOUDBACKUP_HH
......
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