summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CuTNetLib/cuComponent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CuTNetLib/cuComponent.h b/src/CuTNetLib/cuComponent.h
index 7a66581..23f00f6 100644
--- a/src/CuTNetLib/cuComponent.h
+++ b/src/CuTNetLib/cuComponent.h
@@ -283,7 +283,7 @@ namespace TNet {
mpInput(NULL), mpErrorInput(NULL),
mOutput(), mErrorOutput(),preComp(pPred)
{
- UID=++UID_CNT;
+ UID=++(CuComponent::UID_CNT);
/* DOUBLE LINK the Components */
if (pPred != NULL) {