[bitcoin/bitcoin] Refactoring CRPCCommand with enum category (#13945)

isghe commented on this pull request.

> @@ -158,7 +158,7 @@ std::string CRPCTable::help(const std::string& strCommand, const JSONRPCRequest&
std::vector > vCommands;

for (const auto& entry : mapCommands)
— vCommands.push_back(make_pair(entry.second->category + entry.first, entry.second));
+ vCommands.push_back(std::make_pair(rpccategory::Label (entry.second->category) + entry.first, entry.second));

done https://github.com/bitcoin/bitcoin/pull/13945/commits/c13fe258e8e311092e64563b43c10a3582a2f1d1

Добавить комментарий