mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Fixed some random Worder warnings
This commit is contained in:
parent
2ad409a4f4
commit
5ef130d581
12 changed files with 34 additions and 32 deletions
|
|
@ -100,8 +100,8 @@ class AsyncIOItem : public ThreadPool::WorkItem
|
|||
: Parent( context ),
|
||||
mStream( stream ),
|
||||
mNumElements( numElements ),
|
||||
mOffsetInStream( offsetInStream ),
|
||||
mOffsetInBuffer( 0 ) {}
|
||||
mOffsetInBuffer( 0 ),
|
||||
mOffsetInStream( offsetInStream ) {}
|
||||
|
||||
/// Construct a read item on "stream" that stores data into the given "buffer".
|
||||
///
|
||||
|
|
@ -109,11 +109,11 @@ class AsyncIOItem : public ThreadPool::WorkItem
|
|||
U32 numElements, OffsetType offsetInStream, bool takeOwnershipOfBuffer = true,
|
||||
ThreadContext* context = 0 )
|
||||
: Parent( context ),
|
||||
mStream( stream ),
|
||||
mBuffer( buffer ),
|
||||
mStream( stream ),
|
||||
mNumElements( numElements ),
|
||||
mOffsetInStream( offsetInStream ),
|
||||
mOffsetInBuffer( offsetInBuffer )
|
||||
mOffsetInBuffer( offsetInBuffer ),
|
||||
mOffsetInStream( offsetInStream )
|
||||
{
|
||||
if( takeOwnershipOfBuffer )
|
||||
mBuffer.ownMemory = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue