_it= gServMan.mapCFeeFlag.find(serv->GetServID());   serv是个指针,而我写成了serv.


"xxx.cpp", line 1342: error #2153: expression must have class type
                                                 _it= gServMan.mapCFeeFlag.find(serv.GetServID());
                                                                                ^

Logo

讨论HarmonyOS开发技术,专注于API与组件、DevEco Studio、测试、元服务和应用上架分发等。

更多推荐