daniel@transgaming.com | 4f39fd9 | 2010-03-08 20:26:45 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. |
| 3 | // Use of this source code is governed by a BSD-style license that can be |
| 4 | // found in the LICENSE file. |
| 5 | // |
| 6 | |
| 7 | // angleutils.h: Common ANGLE utilities. |
| 8 | |
| 9 | // A macro to disallow the copy constructor and operator= functions |
| 10 | // This must be used in the private: declarations for a class |
| 11 | #define DISALLOW_COPY_AND_ASSIGN(TypeName) \ |
| 12 | TypeName(const TypeName&); \ |
| 13 | void operator=(const TypeName&) |
| 14 | |