-
-
Notifications
You must be signed in to change notification settings - Fork 502
Add async dbConnect #3632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add async dbConnect #3632
Conversation
| std::string result; | ||
| if (Get(inCmd, result)) | ||
| { | ||
| value = atoi(result.c_str()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, use C++ alternatives.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would require either defining a function for converting strings to numbers or surrounding it with try-catch.
Function would be better there, no?
|
Im not interested in advancing this PR further anymore. |
Resolves #410