Add last_guid to ProfileData.
This commit is contained in:
parent
c631e5c4fe
commit
a369e96177
|
@ -56,6 +56,7 @@ std::ostream &operator <<(std::ostream &out, const ProfileData &data)
|
|||
out << "], "
|
||||
<< "instance: \"" << data.instance << "\", "
|
||||
<< "interval: " << data.interval << ", "
|
||||
<< "last_guid: \"" << data.last_guid << "\", "
|
||||
<< "max_size: " << data.max_size << ", "
|
||||
<< "skip: [";
|
||||
for (const auto &skip : data.skip)
|
||||
|
@ -226,6 +227,7 @@ void Config::parse()
|
|||
data.interval =
|
||||
static_cast<uint32_t>(_json[_profile]["interval"].asUInt64());
|
||||
}
|
||||
data.last_guid = _json[_profile]["last_guid"].asString();
|
||||
if (!_json[_profile]["max_size"].isNull())
|
||||
{
|
||||
data.max_size =
|
||||
|
|
|
@ -46,6 +46,7 @@ struct ProfileData
|
|||
vector<string> fixes;
|
||||
string instance;
|
||||
uint32_t interval{30};
|
||||
string last_guid;
|
||||
uint32_t max_size{500};
|
||||
vector<string> skip;
|
||||
bool titles_as_cw{false};
|
||||
|
|
Loading…
Reference in New Issue
Block a user