Commit 99362157 authored by Chen Bill's avatar Chen Bill Committed by GitHub

use const reference in is_setcodes (#2669)

parent 45128130
......@@ -24,7 +24,7 @@ struct CardDataC : card_data {
uint32_t ot{};
uint32_t category{};
bool is_setcodes(std::vector <uint32_t> values) const {
bool is_setcodes(const std::vector<unsigned int>& values) const {
for (auto& value : values) {
if (is_setcode(value))
return true;
......
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