Kaydet (Commit) 7f1eed1c authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: This function can be const

üst c887c718
......@@ -831,7 +831,7 @@ long CXMergeSyncModule::LockServer(BOOL fLock)
return ::InterlockedDecrement(&m_lLocks);
}
long CXMergeSyncModule::GetLockCount()
long CXMergeSyncModule::GetLockCount() const
{
return m_lLocks + m_lObjs;
}
......
......@@ -20,7 +20,7 @@ protected:
long m_lObjs;
public:
long GetLockCount();
long GetLockCount() const;
long LockServer(BOOL fLock);
HINSTANCE m_hInst;
CXMergeSyncModule();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment