diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
commit | 78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch) | |
tree | 8512c50df70b8dd80c919e88ade3419207c95956 /plugins/JSON/Source/JSONMemory.h | |
parent | ce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff) |
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/JSON/Source/JSONMemory.h')
-rw-r--r-- | plugins/JSON/Source/JSONMemory.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/JSON/Source/JSONMemory.h b/plugins/JSON/Source/JSONMemory.h index 4797bd619f..24c1eee6cf 100644 --- a/plugins/JSON/Source/JSONMemory.h +++ b/plugins/JSON/Source/JSONMemory.h @@ -77,7 +77,7 @@ #include <map> class JSONNode; struct auto_expand { - auto_expand(void) : mymap(){} + auto_expand(void) : mymap() {} ~auto_expand(void){ purge(); } void purge(void); inline void clear(void){ purge(); mymap.clear(); } @@ -91,7 +91,7 @@ }; struct auto_expand_node { - auto_expand_node(void) : mymap(){} + auto_expand_node(void) : mymap() {} ~auto_expand_node(void){ purge(); } void purge(void); inline void clear(void){ purge(); mymap.clear(); } @@ -109,7 +109,7 @@ template <typename T> class json_auto { public: json_auto(void) : ptr(0){} - json_auto(size_t count) : ptr(json_malloc<T>(count)){} + json_auto(size_t count) : ptr(json_malloc<T>(count)) {} ~json_auto(void){ libjson_free<T>(ptr); } |