Add client/server fromEnv() without temporary Config on caller stack
This commit is contained in:
1 parent
d6bf565ed6
commit
98edf61de8
18 files changed
+40
-22
No files matched your search
+1
-1
@@ -94,7 +94,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
auto ctxt = client::Config::fromEnv().build();
|
||||
auto ctxt(client::Context::fromEnv());
|
||||
|
||||
if(verbose)
|
||||
std::cout<<"Effective config\n"<<ctxt.config();
|
||||
|
||||
Reference in new issue
Block a user