Remove CBotLinkedList from CBotFunction
Fixup for 191151eb7b
No idea how I managed to forget that
dev-buzzingcars
parent
35d60aaae5
commit
6b7233c6ae
|
@ -40,7 +40,6 @@ void CBotDebug::DumpCompiledProgram(CBotProgram* program)
|
||||||
for (CBotFunction* func : program->GetFunctions())
|
for (CBotFunction* func : program->GetFunctions())
|
||||||
{
|
{
|
||||||
funcIdMap[func->m_nFuncIdent] = func;
|
funcIdMap[func->m_nFuncIdent] = func;
|
||||||
func = func->GetNext();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::set<CBotInstr*> finished;
|
std::set<CBotInstr*> finished;
|
||||||
|
|
|
@ -39,7 +39,7 @@ namespace CBot
|
||||||
* void classname::test() { ... }
|
* void classname::test() { ... }
|
||||||
* \endcode
|
* \endcode
|
||||||
*/
|
*/
|
||||||
class CBotFunction : public CBotInstr, public CBotLinkedList<CBotFunction>
|
class CBotFunction : public CBotInstr
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CBotFunction();
|
CBotFunction();
|
||||||
|
@ -91,9 +91,6 @@ public:
|
||||||
CBotStack* &pj,
|
CBotStack* &pj,
|
||||||
CBotVar* pInstance = nullptr);
|
CBotVar* pInstance = nullptr);
|
||||||
|
|
||||||
using CBotLinkedList<CBotFunction>::GetNext;
|
|
||||||
using CBotLinkedList<CBotFunction>::AddNext;
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Compile a function call
|
* \brief Compile a function call
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue