fix VC6 compile
This commit is contained in:
@@ -193,6 +193,7 @@ struct PolyphaseFilter
|
||||
AlignedBuffer<float> m_fBuf;
|
||||
int m_iBufNext;
|
||||
};
|
||||
friend struct State;
|
||||
|
||||
PolyphaseFilter( int iUpFactor ):
|
||||
m_pPolyphase( L*iUpFactor )
|
||||
|
||||
@@ -674,7 +674,7 @@ void NetworkPostData::HttpThread()
|
||||
RString sResult;
|
||||
while( m_pStream->GetState() == NetworkStream::STATE_CONNECTED )
|
||||
{
|
||||
sBuf.clear();
|
||||
sBuf.erase( sBuf.begin(), sBuf.end() );
|
||||
void *p = sBuf.GetBuffer( 1024 );
|
||||
int iGot = m_pStream->Read( p, 1024 );
|
||||
if( iGot >= 0 )
|
||||
@@ -713,7 +713,7 @@ void NetworkPostData::Start( const RString &sHost, int iPort, const RString &sPa
|
||||
m_sHost = sHost;
|
||||
m_iPort = iPort;
|
||||
m_sPath = sPath;
|
||||
m_sStatus.clear();
|
||||
m_sStatus.erase( m_sStatus.begin(), m_sStatus.end() );
|
||||
m_fProgress = 0;
|
||||
|
||||
m_Thread.SetName( "HTTP thread" );
|
||||
|
||||
Reference in New Issue
Block a user