summaryrefslogtreecommitdiff
path: root/s_sock.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
commitca28c0e618890330d429c0dc12429255b20f0c90 (patch)
treeecc02da0184cf4e8bdba94dcdd831abdd1e51b3c /s_sock.h
parentb3a99e6e15af3be25394e66d1138bb2682f565c3 (diff)
tagging ychat-0.5.0ychat-0.5.0
Diffstat (limited to 's_sock.h')
-rw-r--r--s_sock.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/s_sock.h b/s_sock.h
index ec32ec3..d570e0c 100644
--- a/s_sock.h
+++ b/s_sock.h
@@ -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;
+ }
};