SharpCoder / rpi-kernel

A Basic (non Linux) C++ Kernel for Raspberry Pi.
MIT License
95 stars 25 forks source link

Pop function in List class doesn't decrement the length data member #3

Open fmascarich opened 8 years ago

fmascarich commented 8 years ago

I just noticed that the Pop function in List class in common doesn't decrement the length data member. Calls to getLength might not accurately represent the list's true length.

Love your project, thanks

SharpCoder commented 8 years ago

Ooooh, nice catch! Thanks! That may explain some of the weird behavior I've run in to. I'll get that fixed up sometime soon :)

Also, I'm glad you like the project!!