Fixes a typo in example code in README.

Signed-off-by: Tao He <sighingnow@gmail.com>
This commit is contained in:
Tao He 2021-05-28 14:34:08 +08:00
parent 9d794504aa
commit 46f36dac6d
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ this case since the respose has been already arrived (we are inside the callback
{ {
try try
{ {
etcd::Response response = response.task.get(); // can throw etcd::Response response = response_task.get(); // can throw
std::cout << response.value().as_string(); std::cout << response.value().as_string();
} }
catch (std::ecxeption const & ex) catch (std::ecxeption const & ex)