Also switched explain over to own async framework.
This commit is contained in:
parent
4dc55288b5
commit
c551d982c6
6 changed files with 17 additions and 17 deletions
|
|
@ -51,9 +51,9 @@ namespace {
|
|||
|
||||
} // END of unnamed namespace
|
||||
|
||||
std::unique_ptr<ExplainRoot> ExplainRoot::createFromJson(Json::Value &json)
|
||||
ExplainRoot::SPtr ExplainRoot::createFromJson(Json::Value &json)
|
||||
{
|
||||
auto res = std::make_unique<ExplainRoot>();
|
||||
auto res = std::make_shared<ExplainRoot>();
|
||||
// Explain always seems to be an array with one element
|
||||
if (json.isArray()) {
|
||||
if (json.size() > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue