From 5070cc98d36ea4175ffa9830153033ebcc74b59a Mon Sep 17 00:00:00 2001 From: castano Date: Fri, 11 Apr 2008 06:50:36 +0000 Subject: [PATCH] Do not use constructor that initializes POD types. --- src/nvcore/Containers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvcore/Containers.h b/src/nvcore/Containers.h index cb5a655..5455a2e 100644 --- a/src/nvcore/Containers.h +++ b/src/nvcore/Containers.h @@ -446,7 +446,7 @@ namespace nv // Call default constructors for( i = old_size; i < new_size; i++ ) { - new(m_buffer+i) T(); // placement new + new(m_buffer+i) T; // placement new } }