mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 12:41:50 +01:00
Fix warnings from NVRESULT
due to unused lambda capture
A previously used `this` capture is no longer used since the introduction of the static logger.
This commit is contained in:
parent
8826c113b0
commit
93ea919c8f
@ -7,12 +7,11 @@
|
||||
#include "driver.h"
|
||||
#include "devices/nvdevice.h"
|
||||
|
||||
#define NVRESULT(x) [&response, this](NvResult err) { \
|
||||
if (err != NvResult::Success) \
|
||||
#define NVRESULT(x) [&response](NvResult err) { \
|
||||
if (err != NvResult::Success) \
|
||||
Logger::Debug("IOCTL Failed: 0x{:X}", err); \
|
||||
\
|
||||
response.Push<NvResult>(err); \
|
||||
return Result{}; \
|
||||
response.Push<NvResult>(err); \
|
||||
return Result{}; \
|
||||
} (x)
|
||||
|
||||
namespace skyline::service::nvdrv {
|
||||
|
Loading…
Reference in New Issue
Block a user