Browse Source

Capture all by value in qemu_proxy

tags/v0.6.0
Vitaliy Filippov 2 months ago
parent
commit
7aeb2cbac7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/qemu_proxy.cpp

+ 1
- 1
src/qemu_proxy.cpp View File

@@ -129,7 +129,7 @@ void vitastor_proxy_sync(void *client, VitastorIOHandler cb, void *opaque)
void vitastor_proxy_watch_metadata(void *client, char *image, VitastorIOHandler cb, void *opaque)
{
QemuProxy *p = (QemuProxy*)client;
p->cli->on_ready([&]()
p->cli->on_ready([=]()
{
auto watch = p->cli->st_cli.watch_inode(std::string(image));
cb((long)watch, opaque);


Loading…
Cancel
Save