Recently, I ran some of my cpp code, and it gave the warning text: [Error] no matching function for call to 'deckOfCards::shuffle(deckOfCards&)' [Note] candidate is: In file included from main.cpp [Note] void deckOfCards::shuffle(std::vector<Card>&) ...