Commit 6d70b254 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke
Browse files

Improved C++11-branch of PropertyManager and at the same time fixed compile error with gcc 4.7.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@889 fdac6126-5c0c-442c-9429-916003d36597
parent 6e970852
...@@ -69,6 +69,11 @@ namespace OpenMesh { ...@@ -69,6 +69,11 @@ namespace OpenMesh {
*/ */
template<typename PROPTYPE, typename MeshT> template<typename PROPTYPE, typename MeshT>
class PropertyManager { class PropertyManager {
#if __cplusplus > 199711L or __GXX_EXPERIMENTAL_CXX0X__
public:
PropertyManager(const PropertyManager&) = delete;
PropertyManager& operator=(const PropertyManager&) = delete;
#else
private: private:
/** /**
* Noncopyable because there aren't no straightforward copy semantics. * Noncopyable because there aren't no straightforward copy semantics.
...@@ -78,7 +83,8 @@ class PropertyManager { ...@@ -78,7 +83,8 @@ class PropertyManager {
/** /**
* Noncopyable because there aren't no straightforward copy semantics. * Noncopyable because there aren't no straightforward copy semantics.
*/ */
const PropertyManager& operator=(const PropertyManager&); PropertyManager& operator=(const PropertyManager&);
#endif
public: public:
/** /**
......
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