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