diff --git a/dbSqlite.h b/dbSqlite.h index b4435b41b843afc0b347678d30ec9ce70eff2c1e..6bb76673c95963648f83302626318358567fa128 100644 --- a/dbSqlite.h +++ b/dbSqlite.h @@ -70,11 +70,7 @@ public: jObj["sensors"][i++] = temp; } - /*for (size_t i = 0; i < a.size(); ++i) { - std::cout << a[i]; - }*/ - - /*for (int i = 0; i < vecForecast.size(); i++) { + for (int i = 0; i < vecForecast.size(); i++) { jObj["forecast"][i]["plz"] = vecForecast[i].plz; jObj["forecast"][i]["lngCode"] = vecForecast[i].lngCode; jObj["forecast"][i]["sunrise"] = vecForecast[i].sunrise; @@ -95,7 +91,7 @@ public: jObj["forecast"][i]["snow3h"] = vecForecast[i].snow3h; jObj["forecast"][i]["icons"] = vecForecast[i].icons; jObj["forecast"][i]["from"] = vecForecast[i].from; - }*/ + } jObj["current"]["plz"] = sWeather.plz; jObj["current"]["lngCode"] = sWeather.lngCode; jObj["current"]["sunrise"] = sWeather.sunrise;