TarsCpp 2.4.14 中编译失败?
ETZhangSX opened this issue · 0 comments
ETZhangSX commented
TarsCpp 2.4.14
中去掉了 Application
中的单例,需要获取实例才能调用,导致编译失败
/root/tarscode/TarsBenchmark/src/server/NodeServer/NodeImp.cpp:19:50: 错误:没有对象无法调用成员函数‘tars::TC_Config& tars::Application::getConfig()’
TC_Config &conf = Application::getConfig();