mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 13:44:17 +00:00
5 lines
99 B
C++
5 lines
99 B
C++
#pragma once
|
|
|
|
#define THROW_BAD_ALLOC_IF_NULL(x) \
|
|
if ((x) == nullptr) throw std::bad_alloc()
|
|
|