diff options
Diffstat (limited to 's_sock.h')
| -rw-r--r-- | s_sock.h | 21 |
1 files changed, 10 insertions, 11 deletions
@@ -5,22 +5,21 @@ using namespace std; -class s_sock +class s_sock { private: - static sock* obj; + static sock* obj; public: - static void init() - { - obj = new sock(); - } + static void init() + { + obj = new sock(); + } - static sock& get - () - { - return *obj; - } + static sock& get() + { + return *obj; + } }; |
