diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-07 02:10:18 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-07 02:10:18 +0000 |
commit | 73a797fb8e6c05e7756d30d7baef447267deacd1 (patch) | |
tree | e5be765e7deee04ee7c75195659a6fabb08ecfef /base | |
parent | 347dc0a147199514afaaaa1f0d5949a41083efcb (diff) | |
download | chromium_src-73a797fb8e6c05e7756d30d7baef447267deacd1.zip chromium_src-73a797fb8e6c05e7756d30d7baef447267deacd1.tar.gz chromium_src-73a797fb8e6c05e7756d30d7baef447267deacd1.tar.bz2 |
Get rid of DISALLOW_EVIL_CONSTRUCTORS macro usage in our code base.
TODO: Fix the remaining usages in third_party libraries and get rid of the macro in question.
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/2657005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/basictypes.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/base/basictypes.h b/base/basictypes.h index 64ec1050..8d405b25 100644 --- a/base/basictypes.h +++ b/base/basictypes.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -82,6 +82,10 @@ const int64 kint64max = (( int64) GG_LONGLONG(0x7FFFFFFFFFFFFFFF)); void operator=(const TypeName&) // An older, deprecated, politically incorrect name for the above. +// NOTE: The usage of this macro was baned from our code base, but some +// third_party libraries are yet using it. +// TODO(tfarina): Figure out how to fix the usage of this macro in the +// third_party libraries and get rid of it. #define DISALLOW_EVIL_CONSTRUCTORS(TypeName) DISALLOW_COPY_AND_ASSIGN(TypeName) // A macro to disallow all the implicit constructors, namely the |