cleanup
This commit is contained in:
@@ -672,13 +672,11 @@ public:
|
|||||||
m_iMode = iMode;
|
m_iMode = iMode;
|
||||||
/* We have a lot of overhead per read and write operation, since we send
|
/* We have a lot of overhead per read and write operation, since we send
|
||||||
* commands to the worker thread. Buffer these operations. */
|
* commands to the worker thread. Buffer these operations. */
|
||||||
if( iMode & RageFile::WRITE ){
|
if( iMode & RageFile::WRITE )
|
||||||
EnableWriteBuffering();
|
EnableWriteBuffering();
|
||||||
}
|
if( iMode & RageFile::READ )
|
||||||
if( iMode & RageFile::READ ){
|
|
||||||
EnableReadBuffering();
|
EnableReadBuffering();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
~RageFileObjTimeout()
|
~RageFileObjTimeout()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user