diff options
author | tim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-10 17:42:21 +0000 |
---|---|---|
committer | tim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-10 17:42:21 +0000 |
commit | be2cfb00981df5041557753d7724685f9b08cbaa (patch) | |
tree | 5e207e0302db8cdbba161f782fec5bf37276d4a9 /base/ref_counted.h | |
parent | cb362ccc87064ae0ee4459ee089e00972b4a76e7 (diff) | |
download | chromium_src-be2cfb00981df5041557753d7724685f9b08cbaa.zip chromium_src-be2cfb00981df5041557753d7724685f9b08cbaa.tar.gz chromium_src-be2cfb00981df5041557753d7724685f9b08cbaa.tar.bz2 |
Move DISALLOW_COPY_AND_ASSIGN(RefCountedThreadSafe<T>) to private section.
I hope this is as innocent as it seems, but the presence of the "subtle" namespace freaks me out.
Given that everything built, I doubt this was affecting anything because if it were somehow abused
moving this to private should have generated compilation errors. In any event, smack me if I'm missing
something "subtley" obvious or should try something else (besides running tests).
Review URL: http://codereview.chromium.org/13219
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6715 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/ref_counted.h')
-rw-r--r-- | base/ref_counted.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/ref_counted.h b/base/ref_counted.h index 595a551..a1e7bb4 100644 --- a/base/ref_counted.h +++ b/base/ref_counted.h @@ -106,6 +106,7 @@ class RefCountedThreadSafe : public subtle::RefCountedThreadSafeBase { } } + private: DISALLOW_COPY_AND_ASSIGN(RefCountedThreadSafe<T>); }; |