minor improvements

This commit is contained in:
Naios 2015-08-09 18:34:13 +02:00
parent ed89738b00
commit d61c36a418

View File

@ -27,7 +27,8 @@ Continuable<std::string> continuable =
```c++
Continuable<ResultSet> mysql_query(std::string&& query)
{
return make_continuable([query = std::move(query)](Callback<ResultSet>&& callback) mutable
return make_continuable(
[query = std::move(query)](Callback<ResultSet>&& callback) mutable
{
// Pass the callback to the handler
// which calls the callback when finished.