summary refs log tree commit diff stats
path: root/cardset.h
diff options
context:
space:
mode:
Diffstat (limited to 'cardset.h')
-rw-r--r--cardset.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cardset.h b/cardset.h index 217d859..2e39f5c 100644 --- a/cardset.h +++ b/cardset.h
@@ -17,14 +17,16 @@ struct card {
17 std::string imageUri; 17 std::string imageUri;
18 card_frame frame; 18 card_frame frame;
19 std::string uuid; 19 std::string uuid;
20 std::string artist;
20 21
21 card(size_t id, std::string name, std::string imageUri, card_frame frame, 22 card(size_t id, std::string name, std::string imageUri, card_frame frame,
22 std::string uuid) 23 std::string uuid, std::string artist)
23 : id(id), 24 : id(id),
24 name(std::move(name)), 25 name(std::move(name)),
25 imageUri(std::move(imageUri)), 26 imageUri(std::move(imageUri)),
26 frame(frame), 27 frame(frame),
27 uuid(std::move(uuid)) {} 28 uuid(std::move(uuid)),
29 artist(std::move(artist)) {}
28}; 30};
29 31
30class cardset { 32class cardset {