Browse Source

提交测试

master
panyufeng 3 years ago
parent
commit
a1d6ad16dd
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      test_conf/test_conf.cpp

+ 5
- 4
test_conf/test_conf.cpp View File

@ -32,10 +32,7 @@ int main()
//设置特征
event_config_require_features(conf, EV_FEATURE_FDS);
//event_config_require_features(conf, EV_FEATURE_FDS);
//初始化配置上下文
@ -52,6 +49,10 @@ int main()
}
else {
//获取当前网络模型
cout << "current mothed is " << event_base_get_method(base) << endl;
//确认特征是否生效
int f = event_base_get_features(base);
if (f& EV_FEATURE_ET) {


Loading…
Cancel
Save