diff options
author | Justin Dickow <jjdickow@gmail.com> | 2014-10-27 16:59:35 -0400 |
---|---|---|
committer | Justin Dickow <jjdickow@gmail.com> | 2014-10-27 16:59:35 -0400 |
commit | 1ad35342dfe2f92bc1deb734de504177596fc8d6 (patch) | |
tree | b655799ef580fae979e1e66bf3b82dfdd3d42f45 /src/components/rpc_base | |
parent | 9da0cfe821c3c9252a543e1e4a344867de9dceee (diff) | |
download | sdl_core-1ad35342dfe2f92bc1deb734de504177596fc8d6.tar.gz |
3.10.1
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
Diffstat (limited to 'src/components/rpc_base')
-rw-r--r-- | src/components/rpc_base/include/rpc_base/rpc_base_json_inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/rpc_base/include/rpc_base/rpc_base_json_inl.h b/src/components/rpc_base/include/rpc_base/rpc_base_json_inl.h index f9b8914295..a581092340 100644 --- a/src/components/rpc_base/include/rpc_base/rpc_base_json_inl.h +++ b/src/components/rpc_base/include/rpc_base/rpc_base_json_inl.h @@ -89,7 +89,7 @@ namespace impl { // static inline const Json::Value* ValueMember(const Json::Value* value, const char* member_name) { - if (value && value->isMember(member_name)) { + if (value && value->isObject() && value->isMember(member_name)) { return &(*value)[member_name]; } return NULL; |