WebDAV: fixed compiler warning

Not found by all compilers (?): binding createSource depends on it
being const.
This commit is contained in:
Patrick Ohly 2011-03-22 15:13:52 +01:00
parent 297755c2e6
commit 40dd80d25f

View file

@ -188,7 +188,7 @@ public:
config.createSourceA = boost::bind(&WebDAVTest::createSource, this, _3);
}
TestingSyncSource *createSource(bool isSourceA)
TestingSyncSource *createSource(bool isSourceA) const
{
boost::shared_ptr<SyncConfig> context(new SyncConfig(string("source-config@client-test-") + m_server));
SyncSourceNodes nodes = context->getSyncSourceNodes(m_type,