Remove CBotLinkedList from CBotFunction

Fixup for 191151eb7b
No idea how I managed to forget that
dev-buzzingcars
krzys-h 2016-11-11 19:47:59 +01:00
parent 35d60aaae5
commit 6b7233c6ae
2 changed files with 1 additions and 5 deletions

View File

@ -40,7 +40,6 @@ void CBotDebug::DumpCompiledProgram(CBotProgram* program)
for (CBotFunction* func : program->GetFunctions())
{
funcIdMap[func->m_nFuncIdent] = func;
func = func->GetNext();
}
std::set<CBotInstr*> finished;

View File

@ -39,7 +39,7 @@ namespace CBot
* void classname::test() { ... }
* \endcode
*/
class CBotFunction : public CBotInstr, public CBotLinkedList<CBotFunction>
class CBotFunction : public CBotInstr
{
public:
CBotFunction();
@ -91,9 +91,6 @@ public:
CBotStack* &pj,
CBotVar* pInstance = nullptr);
using CBotLinkedList<CBotFunction>::GetNext;
using CBotLinkedList<CBotFunction>::AddNext;
/*!
* \brief Compile a function call
*