From cb63acc19a208ee4d6a25a52ac788cb897b6e246 Mon Sep 17 00:00:00 2001 From: Igor Kulaychuk Date: Mon, 4 Jun 2018 23:15:27 +0300 Subject: [PATCH] Fix lambda capture warnings --- src/debug/netcoredbg/miprotocol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/debug/netcoredbg/miprotocol.cpp b/src/debug/netcoredbg/miprotocol.cpp index fa871eb..b8d9ebc 100644 --- a/src/debug/netcoredbg/miprotocol.cpp +++ b/src/debug/netcoredbg/miprotocol.cpp @@ -761,7 +761,7 @@ HRESULT MIProtocol::HandleCommand(std::string command, output = "^running"; return Status; }}, - { "environment-cd", [this](const std::vector &args, std::string &output) -> HRESULT { + { "environment-cd", [](const std::vector &args, std::string &output) -> HRESULT { if (args.empty()) return E_INVALIDARG; return SetWorkDir(args.at(0)) ? S_OK : E_FAIL; @@ -782,7 +782,7 @@ HRESULT MIProtocol::HandleCommand(std::string command, } return S_OK; }}, - { "interpreter-exec", [this](const std::vector &args, std::string &output) -> HRESULT { + { "interpreter-exec", [](const std::vector &args, std::string &output) -> HRESULT { return S_OK; }}, { "break-exception-insert", [this](const std::vector &args, std::string &output) -> HRESULT { -- 2.7.4