Skip to content

Commit

Permalink
Add namespace qualifier
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft committed Aug 3, 2021
1 parent bcd1d2f commit b26de20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/dbinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ std::shared_ptr<std::string> DBInterface::get(const std::string& dbName, const s
throw UnavailableDataError(message, hash);
}
const std::string& value = *pvalue;
return value == "None" ? shared_ptr<string>() : make_shared<string>(value);
return value == "None" ? std::shared_ptr<std::string>() : std::make_shared<std::string>(value);
};
return blockable<shared_ptr<string>>(innerfunc, dbName, blocking);
return blockable<std::shared_ptr<std::string>>(innerfunc, dbName, blocking);
}

bool DBInterface::hexists(const std::string& dbName, const std::string& hash, const std::string& key)
Expand Down

0 comments on commit b26de20

Please sign in to comment.