mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 06:01:12 +00:00
Fix some Clang static analysis warnings
This commit is contained in:
+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