summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Zhao <ztuowen@gmail.com>2014-10-06 22:07:39 +0800
committerJoe Zhao <ztuowen@gmail.com>2014-10-06 22:07:39 +0800
commitedfb2d6a667b8796363e76a48c77f6032f1e1a4c (patch)
tree92345ceb0d013084977fc4410c9b33569a4fbc94
parenta1e3cc033e089b438afa5af37bc6f8d2391b343d (diff)
downloadtnet-edfb2d6a667b8796363e76a48c77f6032f1e1a4c.tar.gz
tnet-edfb2d6a667b8796363e76a48c77f6032f1e1a4c.tar.bz2
tnet-edfb2d6a667b8796363e76a48c77f6032f1e1a4c.zip
Virtual 9+++++++++++++
-rw-r--r--src/CuTNetLib/cuComponent.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/CuTNetLib/cuComponent.h b/src/CuTNetLib/cuComponent.h
index 23f00f6..0ba55b5 100644
--- a/src/CuTNetLib/cuComponent.h
+++ b/src/CuTNetLib/cuComponent.h
@@ -45,9 +45,8 @@ namespace TNet {
*/
class CuComponent
{
- private:
- static int UID_CNT;
public:
+ static int UID_CNT;
/// Unique id of this component
int UID;
/// Types of the net components