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:
parent
aeb37d34aa
commit
d93cac4a04
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user