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/internalJSONNode.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/internalJSONNode.h')
-rw-r--r-- | plugins/JSON/Source/internalJSONNode.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/JSON/Source/internalJSONNode.h b/plugins/JSON/Source/internalJSONNode.h index 8667e3fbbb..9e9f9de983 100644 --- a/plugins/JSON/Source/internalJSONNode.h +++ b/plugins/JSON/Source/internalJSONNode.h @@ -290,7 +290,7 @@ inline json_string internalJSONNode::as_string(void) const { inline long internalJSONNode::as_int(void) const { Fetch(); - switch(type()){ + switch(type()) { case JSON_NULL: return 0; case JSON_BOOL: @@ -305,7 +305,7 @@ inline long internalJSONNode::as_int(void) const { inline json_number internalJSONNode::as_float(void) const { Fetch(); - switch(type()){ + switch(type()) { case JSON_NULL: return (json_number)0.0; case JSON_BOOL: @@ -317,7 +317,7 @@ inline json_number internalJSONNode::as_float(void) const { inline bool internalJSONNode::as_bool(void) const { Fetch(); - switch(type()){ + switch(type()) { case JSON_NUMBER: return _value._number != 0.0f; case JSON_NULL: |