summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CuTNetLib/cuComponent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CuTNetLib/cuComponent.h b/src/CuTNetLib/cuComponent.h
index 19908de..d5d18cd 100644
--- a/src/CuTNetLib/cuComponent.h
+++ b/src/CuTNetLib/cuComponent.h
@@ -46,7 +46,7 @@ namespace TNet {
class CuComponent
{
private:
- static int UID_CNT=0;
+ static int UID_CNT;
public:
/// Unique id of this component
int UID;
@@ -274,7 +274,7 @@ namespace TNet {
};
-
+ static int CuComponent::UID_CNT=0;
//////////////////////////////////////////////////////////////////////////
// INLINE FUNCTIONS