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
This commit is contained in:
mflodman@webrtc.org 2012-10-11 16:58:05 +00:00
parent aeb37d34aa
commit d93cac4a04

View File

@ -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)
{