summaryrefslogtreecommitdiff
path: root/s_mutx.h
diff options
context:
space:
mode:
Diffstat (limited to 's_mutx.h')
-rw-r--r--s_mutx.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/s_mutx.h b/s_mutx.h
index 24c0f97..1363408 100644
--- a/s_mutx.h
+++ b/s_mutx.h
@@ -5,21 +5,22 @@
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;
+ }
};