const修饰的函数参数,要传给子函数的话也必须是const,否则出如下的乱七八糟的error info。
/containers/xcgv63/xcgv63mt/rootfs/home/lte1811_0322/SC_MONOLITH/CM_ConfigurationManagement/src/WMP_FCT/RNW2DB_LNMME.cpp: In member function 'void RNW2DB_LNMME::processMO(const libRAML::model::LibRamlManagedObject&)':
/containers/xcgv63/xcgv63mt/rootfs/home/lte1811_0322/SC_MONOLITH/CM_ConfigurationManagement/src/WMP_FCT/RNW2DB_LNMME.cpp:147: error: no matching function for call to 'RNW2DB_LNMME::createLinkObject(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const libRAML::model::LibRamlManagedObject&)'/containers/xcgv63/xcgv63mt/rootfs/home/lte1811_0322/SC_MONOLITH/CM_ConfigurationManagement/src/WMP_FCT/RNW2DB_LNMME.cpp:41: note: candidates are: Link* RNW2DB_LNMME::createLinkObject(std::string&, libRAML::model::LibRamlManagedObject&) const