Skip to content

Commit 13ddd17

Browse files
committed
This should fix compilation error (that not detected by MSVC)
1 parent 6004928 commit 13ddd17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/jrd/CryptoManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ namespace Jrd {
997997

998998
// ready to go
999999
guard.leave(); // release in advance to avoid races with cryptThread()
1000-
Thread& thread = Thread::start(cryptThreadStatic, (THREAD_ENTRY_PARAM) this, THREAD_medium, &cryptThreadHandle);
1000+
const Thread& thread = Thread::start(cryptThreadStatic, (THREAD_ENTRY_PARAM) this, THREAD_medium, &cryptThreadHandle);
10011001
cryptThreadId = thread.getInternalId();
10021002
}
10031003
catch (const Firebird::Exception&)

0 commit comments

Comments
 (0)