mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-13 12:52:27 +00:00
5 lines
103 B
C++
5 lines
103 B
C++
#pragma once
|
|
|
|
#define THROW_BAD_ALLOC_IF_NULL(x) \
|
|
if ((x) == nullptr) throw new std::bad_alloc()
|
|
|