Fix reference counting assert.
Change assert("teo") to assert(!"teo") so that the assert is actually triggered. Review URL: http://webrtc-codereview.appspot.com/133018 git-svn-id: http://webrtc.googlecode.com/svn/trunk@533 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -46,7 +46,7 @@ class RefCountedModule : public Module {
|
||||
// TODO(perkj): Make this pure virtual when Chromium have implemented
|
||||
// reference counting ADM and Video capture module.
|
||||
virtual int32_t AddRef() {
|
||||
assert("Not implemented.");
|
||||
assert(!"Not implemented.");
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -57,7 +57,7 @@ class RefCountedModule : public Module {
|
||||
// TODO(perkj): Make this pure virtual when Chromium have implemented
|
||||
// reference counting ADM and Video capture module.
|
||||
virtual int32_t Release() {
|
||||
assert("Not implemented.");
|
||||
assert(!"Not implemented.");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user