mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-07-09 17:25:18 -06:00
Fix unused midi_deleter variable warning
This commit is contained in:
parent
f95a225d63
commit
7b5f3e6921
@ -8,7 +8,7 @@
|
||||
|
||||
LOG_CHANNEL(cfg_log, "CFG");
|
||||
|
||||
const auto midi_deleter = [](RtMidiWrapper* ptr) { if (ptr) rtmidi_in_free(ptr); };
|
||||
inline constexpr auto midi_deleter = [](RtMidiWrapper* ptr) { if (ptr) rtmidi_in_free(ptr); };
|
||||
using midi_ptr = std::unique_ptr<RtMidiWrapper, decltype(midi_deleter)>;
|
||||
|
||||
std::mutex midi_creator::m_midi_init_mutex = {};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user