mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-09 09:17:13 +00:00
12 lines
276 B
C
12 lines
276 B
C
#pragma once
|
|
|
|
#define AK_MAKE_NONCOPYABLE(c) \
|
|
private: \
|
|
c(const c&) = delete; \
|
|
c& operator=(const c&) = delete;
|
|
|
|
#define AK_MAKE_NONMOVABLE(c) \
|
|
private: \
|
|
c(c&&) = delete; \
|
|
c& operator=(c&&) = delete;
|