diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index f967e1d41e..f2a5bb4cf2 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -240,7 +240,7 @@ std::string CRPCTable::help(const std::string& strCommand, const std::string& st BOOST_FOREACH(const PAIRTYPE(std::string, const CRPCCommand*)& command, vCommands) { const CRPCCommand *pcmd = command.second; - string strMethod = pcmd->name; + std::string strMethod = pcmd->name; if ((strCommand != "" || pcmd->category == "hidden") && strMethod != strCommand) continue; try