diff options
Diffstat (limited to 's_modl.h')
| -rw-r--r-- | s_modl.h | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -5,21 +5,22 @@ 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; + } }; |
