Comment out unused ReadDoubleOption
This commit is contained in:
parent
ad0badd6ab
commit
2785152e36
1 changed files with 2 additions and 0 deletions
|
|
@ -153,6 +153,7 @@ bool ReadStringOption(QJsonObject obj, QString key, std::function<void(QString)>
|
||||||
return (readValueResult && readResult);
|
return (readValueResult && readResult);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
bool ReadDoubleOption(QJsonObject obj, QString key, std::function<void(double)> callback) {
|
bool ReadDoubleOption(QJsonObject obj, QString key, std::function<void(double)> callback) {
|
||||||
auto readResult = false;
|
auto readResult = false;
|
||||||
auto readValueResult = ReadOption(obj, key, [&](QJsonValue v) {
|
auto readValueResult = ReadOption(obj, key, [&](QJsonValue v) {
|
||||||
|
|
@ -163,6 +164,7 @@ bool ReadDoubleOption(QJsonObject obj, QString key, std::function<void(double)>
|
||||||
});
|
});
|
||||||
return (readValueResult && readResult);
|
return (readValueResult && readResult);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
bool ReadIntOption(QJsonObject obj, QString key, std::function<void(int)> callback) {
|
bool ReadIntOption(QJsonObject obj, QString key, std::function<void(int)> callback) {
|
||||||
auto readResult = false;
|
auto readResult = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue