diff options
author | Joe Zhao <ztuowen@gmail.com> | 2014-10-06 21:57:28 +0800 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2014-10-06 21:57:28 +0800 |
commit | 581685f0fc084bfa63698a2705e9eafbb8cbd28b (patch) | |
tree | 096313a234d8b6a8793469747f24a91e6fab0127 | |
parent | 5bca76a9e78e7e77779398501b4d233a2b58d26b (diff) | |
download | tnet-581685f0fc084bfa63698a2705e9eafbb8cbd28b.tar.gz tnet-581685f0fc084bfa63698a2705e9eafbb8cbd28b.tar.bz2 tnet-581685f0fc084bfa63698a2705e9eafbb8cbd28b.zip |
Virtual 9+++++++
-rw-r--r-- | src/CuTNetLib/cuComponent.h | 4 |
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 |