diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:48 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:48 +0200 |
| commit | d9c4a95345bd758e45196b29368bd2ff0f2790e3 (patch) | |
| tree | 8e7aa76f3f2a3a064f440f7410e4ec01cd34a78f /s_modl.h | |
| parent | d4c9f10efe815af146438cafb694d16da0e5650a (diff) | |
tagging ychat-0.5.2ychat-0.5.2
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; + } }; |
