aboutsummaryrefslogtreecommitdiff
path: root/include/utils.hpp
blob: 926749d7ed5536b221cc78ac70e8c12a6d67bf5d (plain)
1
2
3
4
5
6
7
8
9
#ifndef SIBS_UTILS_HPP
#define SIBS_UTILS_HPP

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

#endif // SIBS_UTILS_HPP