mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-09 20:41:04 -04:00
fix: remove unused this
capture
This commit is contained in:
parent
61336c941a
commit
011b8b1af5
@ -470,12 +470,11 @@ os_access_mock::map_file(fs::path const& path, size_t size) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return std::make_unique<mmap_mock>(
|
return std::make_unique<mmap_mock>(
|
||||||
de->v | match{
|
de->v |
|
||||||
[this](std::string const& str) { return str; },
|
match{
|
||||||
[this](std::function<std::string()> const& fun) {
|
[](std::string const& str) { return str; },
|
||||||
return fun();
|
[](std::function<std::string()> const& fun) { return fun(); },
|
||||||
},
|
[](auto const&) -> std::string {
|
||||||
[this](auto const&) -> std::string {
|
|
||||||
throw std::runtime_error("oops in match");
|
throw std::runtime_error("oops in match");
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user