summaryrefslogtreecommitdiff
path: root/s_conf.h
diff options
context:
space:
mode:
Diffstat (limited to 's_conf.h')
-rw-r--r--s_conf.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/s_conf.h b/s_conf.h
index 8d349cf..09c4ea7 100644
--- a/s_conf.h
+++ b/s_conf.h
@@ -5,22 +5,21 @@
using namespace std;
-class s_conf
+class s_conf
{
private:
- static conf* obj;
+ static conf* obj;
public:
- static void init()
- {
- obj = new conf( CONFILE );
- }
+ static void init()
+ {
+ obj = new conf( CONFILE );
+ }
- static conf& get
- ()
- {
- return *obj;
- }
+ static conf& get()
+ {
+ return *obj;
+ }
};