From ca28c0e618890330d429c0dc12429255b20f0c90 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:44 +0200 Subject: tagging ychat-0.5.0 --- s_mutx.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 's_mutx.h') diff --git a/s_mutx.h b/s_mutx.h index c379bcb..24c0f97 100644 --- a/s_mutx.h +++ b/s_mutx.h @@ -5,22 +5,21 @@ using namespace std; -class s_mutx +class s_mutx { private: - static mutx* obj; + static mutx* obj; public: - static void init() - { - obj = new mutx(); - } + static void init() + { + obj = new mutx(); + } - static mutx& get - () - { - return *obj; - } + static mutx& get() + { + return *obj; + } }; -- cgit v1.2.3