From 581685f0fc084bfa63698a2705e9eafbb8cbd28b Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Mon, 6 Oct 2014 21:57:28 +0800 Subject: Virtual 9+++++++ --- src/CuTNetLib/cuComponent.h | 4 ++-- 1 file 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 -- cgit v1.2.3-70-g09d2