mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-11 06:49:06 +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 "driver.h"
|
||||||
#include "devices/nvdevice.h"
|
#include "devices/nvdevice.h"
|
||||||
|
|
||||||
#define NVRESULT(x) [&response, this](NvResult err) { \
|
#define NVRESULT(x) [&response](NvResult err) { \
|
||||||
if (err != NvResult::Success) \
|
if (err != NvResult::Success) \
|
||||||
Logger::Debug("IOCTL Failed: 0x{:X}", err); \
|
Logger::Debug("IOCTL Failed: 0x{:X}", err); \
|
||||||
\
|
response.Push<NvResult>(err); \
|
||||||
response.Push<NvResult>(err); \
|
return Result{}; \
|
||||||
return Result{}; \
|
|
||||||
} (x)
|
} (x)
|
||||||
|
|
||||||
namespace skyline::service::nvdrv {
|
namespace skyline::service::nvdrv {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user