nightly testing: minor code cleanup

Setting a Boost function doesn't depend on boost::bind(). A direct
assignment also works in simple cases, like createSource().
This commit is contained in:
Patrick Ohly 2011-07-11 11:22:33 +02:00
parent 9f4c1af434
commit 0963cb0809
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ public:
static void getSourceConfig(const RegisterSyncSourceTest *test, Config &config) {
memset(&config, 0, sizeof(config));
ClientTest::getTestData(test->m_testCaseName.c_str(), config);
config.createSourceA = boost::bind(createSource, _1, _2, _3);
config.createSourceA = createSource;
config.createSourceB = createSource;
config.sourceName = test->m_configName.c_str();