diff options
Diffstat (limited to 'src/syncevo/SyncSource.h')
-rw-r--r-- | src/syncevo/SyncSource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syncevo/SyncSource.h b/src/syncevo/SyncSource.h index 0fa3cceb..9ee64a7d 100644 --- a/src/syncevo/SyncSource.h +++ b/src/syncevo/SyncSource.h @@ -895,7 +895,7 @@ template<typename C, typename A1, typename ...A> class OperationWrapperSwitch<bo OperationExecution exec; // Marking m_pending "volatile" didn't work, find() not defined for that. - typename Pending::iterator it = const_cast<Pending &>(m_pending).find(Converter::toKey(a1)); + auto it = const_cast<Pending &>(m_pending).find(Converter::toKey(a1)); bool continuing = it != m_pending.end(); res = continuing ? sysync::LOCERR_OK : m_pre(dynamic_cast<SyncSource &>(m_source), a1, args...); |