summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Zhao <ztuowen@gmail.com>2014-10-06 22:06:07 +0800
committerJoe Zhao <ztuowen@gmail.com>2014-10-06 22:06:07 +0800
commita1e3cc033e089b438afa5af37bc6f8d2391b343d (patch)
tree5e4ecb57baf9c7d7ee5780b8b0828f44080635f5
parent125a2cfefea9cbe8d3fbfae0baa918b1898f7c7a (diff)
downloadtnet-a1e3cc033e089b438afa5af37bc6f8d2391b343d.tar.gz
tnet-a1e3cc033e089b438afa5af37bc6f8d2391b343d.tar.bz2
tnet-a1e3cc033e089b438afa5af37bc6f8d2391b343d.zip
Virtual 9++++++++++++
-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) {