From a1e3cc033e089b438afa5af37bc6f8d2391b343d Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Mon, 6 Oct 2014 22:06:07 +0800 Subject: Virtual 9++++++++++++ --- src/CuTNetLib/cuComponent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3-70-g09d2