trying to improve the stuff
This commit is contained in:
0
fpc/library/builder.cpp
Normal file
0
fpc/library/builder.cpp
Normal file
@@ -135,11 +135,11 @@ bool CPOSIXFileSystem2::ShouldRecompile(const char *szSource, const char *szOutp
|
||||
|
||||
CUtlVector<CBuildStage*> g_buildStages;
|
||||
|
||||
CBuildStage::CBuildStage( CUtlString sz, int(*pMainFn)() )
|
||||
CBuildStage::CBuildStage( const char *psz, int(*pMainFn)() )
|
||||
{
|
||||
m_sz = sz;
|
||||
m_psz = psz;
|
||||
m_pMainFn = pMainFn;
|
||||
if (sz == 0 || pMainFn == 0)
|
||||
if (psz == 0 || pMainFn == 0)
|
||||
Plat_FatalErrorFunc("Name and function pointer must be set\n");
|
||||
|
||||
g_buildStages.AppendTail(this);
|
||||
|
||||
Reference in New Issue
Block a user