aboutsummaryrefslogtreecommitdiff
path: root/include/dchat/utils.hpp
blob: 01e478d1e5bf5c8eaf1334fca07116096ca10648 (plain)
1
2
3
4
5
6
#pragma once

// Disable copying for a class or struct
#define DISABLE_COPY(ClassName) \
	ClassName(ClassName&) = delete; \
	ClassName& operator = (ClassName&) = delete;