From f96320252a8062b47efae1931b11465f90b256ed Mon Sep 17 00:00:00 2001 From: Norihiro Watanabe <norihiro.watanabe@ufz.de> Date: Fri, 26 Oct 2012 00:09:04 +0200 Subject: [PATCH] add CodingTools.h --- BaseLib/CodingTools.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 BaseLib/CodingTools.h diff --git a/BaseLib/CodingTools.h b/BaseLib/CodingTools.h new file mode 100644 index 00000000000..7e22f41757d --- /dev/null +++ b/BaseLib/CodingTools.h @@ -0,0 +1,20 @@ +/** + * Copyright (c) 2012, OpenGeoSys Community (http://www.opengeosys.org) + * Distributed under a Modified BSD License. + * See accompanying file LICENSE.txt or + * http://www.opengeosys.org/project/license + * + * + * \file CodingTools.h + * + * Created on 2012-02-17 by Norihiro Watanabe + */ + +#ifndef CODINGTOOLS_H +#define CODINGTOOLS_H + +#define DISALLOW_COPY_AND_ASSIGN(TypeName) \ + TypeName(const TypeName&); \ + TypeName &operator=(const TypeName&) + +#endif -- GitLab