1 // LAF Base Library 2 // Copyright (c) 2001-2016 David Capello 3 // 4 // This file is released under the terms of the MIT license. 5 // Read LICENSE.txt for more information. 6 7 #ifndef BASE_DISABLE_COPYING_H_INCLUDED 8 #define BASE_DISABLE_COPYING_H_INCLUDED 9 #pragma once 10 11 #define DISABLE_COPYING(ClassName) \ 12 private: \ 13 ClassName(const ClassName&); \ 14 ClassName& operator=(const ClassName&); 15 16 #endif 17