Skip to content

Commit 2016a33

Browse files
Make RESTProcess pointers "objects"
1 parent 659bd69 commit 2016a33

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

RESTProcess_base.h

+2
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,7 @@ namespace classdesc
679679
return REST_PROCESS_BUFFER(json5_parser::mArray());
680680
}
681681
REST_PROCESS_BUFFER type() const override {return REST_PROCESS_BUFFER(typeName<T>());}
682+
bool isObject() const override {return true;}
682683
};
683684

684685
template <class T>
@@ -694,6 +695,7 @@ namespace classdesc
694695
else return REST_PROCESS_BUFFER(json5_parser::mArray());
695696
}
696697
REST_PROCESS_BUFFER type() const override {return REST_PROCESS_BUFFER(typeName<std::weak_ptr<T> >());}
698+
bool isObject() const override {return true;}
697699
};
698700

699701

0 commit comments

Comments
 (0)