diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-01-06 21:46:56 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-01-06 21:46:56 +0000 |
commit | 380f509bc61ed9cff769f89c5b3ca3dab0c7719a (patch) | |
tree | 27c398df6784997c670b8a20954096f5b31acfb7 | |
parent | Revise wrapper and tests to operate on native types, not element types (diff) | |
download | slicer-380f509bc61ed9cff769f89c5b3ca3dab0c7719a.tar.bz2 slicer-380f509bc61ed9cff769f89c5b3ca3dab0c7719a.tar.xz slicer-380f509bc61ed9cff769f89c5b3ca3dab0c7719a.zip |
Fix JSON serializer's root iterate for sequences
-rw-r--r-- | slicer/json/serializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slicer/json/serializer.cpp b/slicer/json/serializer.cpp index 31a8a2a..8494354 100644 --- a/slicer/json/serializer.cpp +++ b/slicer/json/serializer.cpp @@ -227,7 +227,7 @@ namespace Slicer { break; case mpt_Sequence: *n = json::Array(); - mp->OnEachChild(boost::bind(&JsonSerializer::ModelTreeIterate, n, _1, _2)); + mp->OnEachChild(boost::bind(&JsonSerializer::ModelTreeIterateSeq, n, _2)); break; case mpt_Dictionary: *n = json::Array(); |