We used the wrong syntax for "new", which generated a warning/error building with clang.
Review URL: http://webrtc-codereview.appspot.com/336003 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1241 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
b5b155b8a9
commit
5efcad1758
@ -167,7 +167,7 @@ _calcVar(false),
|
|||||||
_sum(0),
|
_sum(0),
|
||||||
_sumSqr(0)
|
_sumSqr(0)
|
||||||
{
|
{
|
||||||
_buff = new(double[len]);
|
_buff = new double[len];
|
||||||
if(_buff == NULL)
|
if(_buff == NULL)
|
||||||
{
|
{
|
||||||
_buffLen = 0;
|
_buffLen = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user