Ver código fonte

Nothing important

Panagiotis Christopoulos Charitos 14 anos atrás
pai
commit
86a82c84c9
1 arquivos alterados com 4 adições e 5 exclusões
  1. 4 5
      anki/scene/Property.h

+ 4 - 5
anki/scene/Property.h

@@ -84,7 +84,10 @@ public:
 	typedef T Value;
 	typedef Property<Value> Self;
 
-	static const uint TYPE_ID; ///< Unique id for every type of property
+	/// Unique id for every type of property
+	/// @note Don't even think of defining a default value in this or any other
+	///       header
+	static const uint TYPE_ID;
 
 	/// @name Constructors/Destructor
 	/// @{
@@ -113,10 +116,6 @@ public:
 };
 
 
-template<typename T>
-const uint Property<T>::TYPE_ID = 0;
-
-
 /// Read only property
 template<typename T>
 class ReadProperty: public Property<T>