compilation: fix const/non-const issue under C++14/gcc 6
Building client-test fails because a const pointer looses the const attribute while passing it through boost::bind. Fixes: boost/lambda/detail/function_adaptors.hpp:357:16: error: invalid conversion from 'const SyncEvo::SyncSource*' to 'SyncEvo::SyncSource*' [-fpermissive] return func(a1);
This commit is contained in:
parent
14452722fd
commit
2b4b93f1ab
|
@ -3324,7 +3324,7 @@ static void log(const char *text)
|
|||
CLIENT_TEST_LOG("%s", text);
|
||||
}
|
||||
|
||||
static void logSyncSourceReport(SyncSource *source)
|
||||
static void logSyncSourceReport(const SyncSource *source)
|
||||
{
|
||||
CLIENT_TEST_LOG("source %s, start of cycle #%d: local new/mod/del/conflict %d/%d/%d/%d, remote %d/%d/%d/%d, mode %s",
|
||||
source->getName().c_str(),
|
||||
|
|
Loading…
Reference in New Issue