ladybird/AK/Noncopyable.h

7 lines
123 B
C
Raw Normal View History

#pragma once
#define AK_MAKE_NONCOPYABLE(c) \
private: \
c(const c&) = delete; \
c& operator=(const c&) = delete;