1
0
Fork 0
forked from lthn/blockchain

added few fixes to autodoc

This commit is contained in:
cryptozoidberg 2024-03-28 19:24:11 +01:00
parent beb84c200d
commit b00fb7671e
No known key found for this signature in database
GPG key ID: 2E10CC61CAC8F36D
2 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ bool auto_doc_t(const std::string& prefix_name, std::string& generate_reference)
std::string req_str;
std::string req_str_descr;
epee::serialization::portable_storage_extended_doc ps;
req.store(ps, nullptr, true);
req.store(ps, nullptr);
ps.dump_as_json(req_str);
ps.dump_as_decriptions(req_str_descr);
@ -59,7 +59,7 @@ bool auto_doc_t(const std::string& prefix_name, std::string& generate_reference)
std::string res_str;
std::string res_str_descr;
epee::serialization::portable_storage_extended_doc ps_res;
res.store(ps_res, nullptr, true);
res.store(ps_res, nullptr);
ps_res.dump_as_json(res_str);
ps_res.dump_as_decriptions(res_str_descr);

View file

@ -92,7 +92,7 @@ public: \
#define DOC_EXMP_AUTO(...) epee::create_t_object<var_type>(__VA_ARGS__)
#define DOC_EXMP_AUTO(...) , epee::create_t_object<var_type>(__VA_ARGS__)
// Function template to create an object with forwarded constructor arguments