mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 21:40:06 +00:00
Fix some Clang static analysis warnings
This commit is contained in:
1 parent
76d99cd60e
commit
a4ad58d9ec
3 files changed
+7
-7
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#define THROW_BAD_ALLOC_IF_NULL(x) \
|
||||
if ((x) == nullptr) throw new std::bad_alloc()
|
||||
if ((x) == nullptr) throw std::bad_alloc()
|
||||
|
||||
Reference in new issue
Block a user