commit | bfa80ce95e137b4e3e7a704d1bc80f9304af588c | [log] [tgz] |
---|---|---|
author | henrike@webrtc.org <henrike@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Thu Dec 15 17:59:58 2011 +0000 |
committer | henrike@webrtc.org <henrike@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Thu Dec 15 17:59:58 2011 +0000 |
tree | 0bd500fad842bf0b27646124063b57b2c12f4541 | |
parent | 0a10e3c4b2c29e52e6fed063cf60939c953cce47 [diff] [blame] |
Removed usage of the deprecated critical section constructor in system_wrappers. Review URL: http://webrtc-codereview.appspot.com/322004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1208 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/src/system_wrappers/interface/static_instance.h b/src/system_wrappers/interface/static_instance.h index 1e37e71..8fe91cc 100644 --- a/src/system_wrappers/interface/static_instance.h +++ b/src/system_wrappers/interface/static_instance.h
@@ -47,7 +47,7 @@ // reachable from statics leaked so no noise is added by doing this. static CriticalSectionWrapper* crit_sect( CriticalSectionWrapper::CreateCriticalSection()); - CriticalSectionScoped lock(*crit_sect); + CriticalSectionScoped lock(crit_sect); if (count_operation == kAddRefNoCreate && instance_count == 0) {