Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualRed Ant

Posted 24 April 2012 - 11:23 PM

And the debug call stack:

#0 00424842 SearchCell::get_f(this=0x0) (C:/Projects/Individuellt Mjukvaruutvecklingsprojekt/Game/DungeonsOfZiro/files/SearchCell.h:33)


Well, there's your problem. You're invoking the get_f() method on a null pointer.


EDIT: This means one of your operands in a call to bool cell_cmp::operator()(const std::shared_ptr<SearchCell>& a, const std::shared_ptr<SearchCell>& b) const is an empty shared_ptr.

#2Red Ant

Posted 24 April 2012 - 11:22 PM

And the debug call stack:

#0 00424842 SearchCell::get_f(this=0x0) (C:/Projects/Individuellt Mjukvaruutvecklingsprojekt/Game/DungeonsOfZiro/files/SearchCell.h:33)


Well, there's your problem. You're invoking the get_f() method in a null pointer.


EDIT: This means one of your operands in a call to bool cell_cmp::operator()(const std::shared_ptr<SearchCell>& a, const std::shared_ptr<SearchCell>& b) const is an empty shared_ptr.

#1Red Ant

Posted 24 April 2012 - 11:20 PM

And the debug call stack:

#0 00424842 SearchCell::get_f(this=0x0) (C:/Projects/Individuellt Mjukvaruutvecklingsprojekt/Game/DungeonsOfZiro/files/SearchCell.h:33)


Well, there's your problem. You're invoking the get_f() method in a null pointer.

PARTNERS