We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad92bab commit 72e343cCopy full SHA for 72e343c
RESTProcess_base.h
@@ -628,7 +628,7 @@ namespace classdesc
628
template <class U>
629
typename enable_if<Insertable<U>, void>::T
630
insert(U& o, const REST_PROCESS_BUFFER& j) {
631
- typename U::value_type v;
+ typename U::value_type v{};
632
convert(v,j);
633
push_back(o,v);
634
}
@@ -1498,7 +1498,7 @@ namespace classdesc
1498
Not<is_void<U>>
1499
>,RESTProcess_t>::T
1500
slist() const {
1501
- typename remove_const<typename remove_reference<U>::type>::type x;
+ typename remove_const<typename remove_reference<U>::type>::type x{};
1502
return RESTProcessObject<U>(x).list();
1503
1504
// for now, we cannot extract the lists of a non-default constructible return type
0 commit comments