BassBuilt / Trinity-Diceroller

3d6 diceroller with crits and fumbles
0 stars 0 forks source link

Failure to compile on Diceroller.cpp #1

Open BassBuilt opened 5 years ago

BassBuilt commented 5 years ago

1>------ Build started: Project: Trinity Dice Test, Configuration: Debug Win32 ------ 1>DiceRoller.cpp 1>c:\users\david\source\repos\trinity dice test\trinity dice test\diceroller.cpp(37): error C2276: '&': illegal operation on bound member function expression 1>Done building project "Trinity Dice Test.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

BassBuilt commented 5 years ago

I know that I've messed something up with regards to access for the member function Dice::getTotal, but idk what the right way to do it is.