Skip to content

Commit 0680f22

Browse files
committed
Another stupid ChunkLock fix
oops
1 parent 0f34dee commit 0680f22

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

include/CommonLib/ChunkLock.inl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,22 @@ namespace tsom
88
{
99
template<bool Write>
1010
ChunkLock<Write>::ChunkLock(ChunkType chunk) :
11+
m_chunk(chunk),
1112
m_isLocked(false)
1213
{
1314
Lock();
1415
}
1516

1617
template<bool Write>
1718
ChunkLock<Write>::ChunkLock(ChunkType chunk, std::adopt_lock_t) :
19+
m_chunk(chunk),
1820
m_isLocked(true)
1921
{
2022
}
2123

2224
template<bool Write>
2325
ChunkLock<Write>::ChunkLock(ChunkType chunk, std::defer_lock_t) :
26+
m_chunk(chunk),
2427
m_isLocked(false)
2528
{
2629
}

0 commit comments

Comments
 (0)