summaryrefslogtreecommitdiff
path: root/s_sman.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:48 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:48 +0200
commitd9c4a95345bd758e45196b29368bd2ff0f2790e3 (patch)
tree8e7aa76f3f2a3a064f440f7410e4ec01cd34a78f /s_sman.h
parentd4c9f10efe815af146438cafb694d16da0e5650a (diff)
tagging ychat-0.5.2ychat-0.5.2
Diffstat (limited to 's_sman.h')
-rw-r--r--s_sman.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/s_sman.h b/s_sman.h
index ff3a7c5..8fe2c58 100644
--- a/s_sman.h
+++ b/s_sman.h
@@ -5,21 +5,22 @@
using namespace std;
-class s_sman
+class s_sman
{
private:
- static sman* obj;
+ static sman* obj;
public:
- static void init()
- {
- obj = new sman();
- }
+ static void init()
+ {
+ obj = new sman();
+ }
- static sman& get()
- {
- return *obj;
- }
+ static sman& get
+ ()
+ {
+ return *obj;
+ }
};