Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: include/gpu/GrNoncopyable.h

Issue 23483042: Replace uses of GrNoncopyable by SkNoncopyable. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rm GrNoncopyable.h Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/gpu/GrEffectUnitTest.h ('k') | include/gpu/GrTextureAccess.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 /*
3 * Copyright 2010 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8
9 #ifndef GrNoncopyable_DEFINED
10 #define GrNoncopyable_DEFINED
11
12 #include "GrTypes.h"
13
14 /**
15 * Base for classes that want to disallow copying themselves. It makes its
16 * copy-constructor and assignment operators private (and unimplemented).
17 */
18 class SK_API GrNoncopyable {
19 public:
20 GrNoncopyable() {}
21
22 private:
23 // illegal
24 GrNoncopyable(const GrNoncopyable&);
25 GrNoncopyable& operator=(const GrNoncopyable&);
26 };
27
28 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrEffectUnitTest.h ('k') | include/gpu/GrTextureAccess.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698