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:
perkj@google.com
2011-09-06 13:58:34 +00:00
parent b361f3e19f
commit ac75cab618

View File

@ -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;
}