Commit f7aca72a authored by salix5's avatar salix5

Add size() method to Deck struct

parent 3760eaea
......@@ -16,6 +16,9 @@ struct Deck {
extra.clear();
side.clear();
}
size_t size() const noexcept {
return main.size() + extra.size() + side.size();
}
};
struct DeckArray {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment