blob: 1d55111a0b35a5a01565ad017e811f10f27fda21 [file] [log] [blame]
John Bauman19bac1e2014-05-06 15:23:49 -04001// SwiftShader Software Renderer
John Bauman89401822014-05-06 15:04:28 -04002//
John Bauman19bac1e2014-05-06 15:23:49 -04003// Copyright(c) 2005-2012 TransGaming Inc.
4//
5// All rights reserved. No part of this software may be copied, distributed, transmitted,
6// transcribed, stored in a retrieval system, translated into any human or computer
7// language by any means, or disclosed to third parties without the explicit written
8// agreement of TransGaming Inc. Without such an agreement, no rights or licenses, express
9// or implied, including but not limited to any patent rights, are granted to you.
John Bauman89401822014-05-06 15:04:28 -040010//
11
12// angleutils.h: Common ANGLE utilities.
13
14#ifndef COMMON_ANGLEUTILS_H_
15#define COMMON_ANGLEUTILS_H_
16
17// A macro to disallow the copy constructor and operator= functions
18// This must be used in the private: declarations for a class
19#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
20 TypeName(const TypeName&); \
21 void operator=(const TypeName&)
22
23#endif // COMMON_ANGLEUTILS_H_