From d93cac4a040c6f33b75d239c22cc61ec822fe1fc Mon Sep 17 00:00:00 2001 From: "mflodman@webrtc.org" Date: Thu, 11 Oct 2012 16:58:05 +0000 Subject: [PATCH] Remove CriticalSectionScoped reference constructor. This is to close BUG=187, which was, except for this, done a long time ago. BUG=187 TEST=Compiles. Review URL: https://webrtc-codereview.appspot.com/857013 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2915 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/system_wrappers/interface/critical_section_wrapper.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/system_wrappers/interface/critical_section_wrapper.h b/src/system_wrappers/interface/critical_section_wrapper.h index cfec9ae79d..a3a1134c83 100644 --- a/src/system_wrappers/interface/critical_section_wrapper.h +++ b/src/system_wrappers/interface/critical_section_wrapper.h @@ -38,15 +38,6 @@ public: class CriticalSectionScoped { public: - // Deprecated, don't add more users of this constructor. - // TODO(mflodman) Remove this version of the constructor when no one is - // using it any longer. - explicit CriticalSectionScoped(CriticalSectionWrapper& critsec) - : _ptrCritSec(&critsec) - { - _ptrCritSec->Enter(); - } - explicit CriticalSectionScoped(CriticalSectionWrapper* critsec) : _ptrCritSec(critsec) {