From be2cfb00981df5041557753d7724685f9b08cbaa Mon Sep 17 00:00:00 2001 From: "tim@chromium.org" Date: Wed, 10 Dec 2008 17:42:21 +0000 Subject: Move DISALLOW_COPY_AND_ASSIGN(RefCountedThreadSafe) 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 --- base/ref_counted.h | 1 + 1 file changed, 1 insertion(+) (limited to 'base') 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); }; -- cgit v1.1