thigns
This commit is contained in:
parent
ab097e2370
commit
875b9c7dd1
5 changed files with 23 additions and 17 deletions
|
@ -48,7 +48,7 @@ fn GetDate()->string {
|
|||
fn main()->i32 {
|
||||
using std::future;
|
||||
|
||||
const Config& config = Config::getInstance();
|
||||
const Config config = Config::getInstance();
|
||||
|
||||
auto weatherFuture =
|
||||
std::async(std::launch::async, [&config]() { return config.weather.get().getWeatherInfo(); });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue