It happens in the file heapsort.h, and is very easy to correct.
This code will compile fine:
Code: Select all
#include <irrlicht.h>
int main()
{
irr::core::array<int> myArray;
myArray.push_back(6);
myArray.push_back(1);
myArray.push_back(9);
myArray.sort();
return 0;
}
Code: Select all
#include <irrlicht.h>
using namespace irr::core;
int main()
{
irr::core::array<int> myArray;
myArray.push_back(6);
myArray.push_back(1);
myArray.push_back(9);
myArray.sort();
return 0;
}
This could very easily be fixed, by simply changing the variable name in the heapsort function.
It's not a crippling bug, but it is annoying