message: rpc: [refactor] Use concise C++11 code in CRPCConvertTable constructor
diff: @@ -216,14 +216,9 @@ public:
  CRPCConvertTable::CRPCConvertTable()
  {
  - const unsigned int n_elem =
  - (sizeof(vRPCConvertParams) / sizeof(vRPCConvertParams[0]));
  -
  - for (unsigned int i = 0; i < n_elem; i++) {
  - members.insert(std::make_pair(vRPCConvertParams[i].methodName,
  - vRPCConvertParams[i].paramIdx));
  - membersByName.insert(std::make_pair(vRPCConvertParams[i].methodName,
  - vRPCConvertParams[i].paramName));
  + for (const auto& cp : vRPCConvertParams) {
  + members.emplace(cp.methodName, cp.paramIdx);
  + membersByName.emplace(cp.methodName, cp.paramName);
  }
  }
  