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