Use new instead of ::new for placement

This commit is contained in:
Vinnie Falco
2013-09-14 19:24:38 -07:00
parent 2a04dcc334
commit 77874ee518
8 changed files with 23 additions and 35 deletions

View File

@@ -50,7 +50,7 @@ TrackedMutexBasics::PerThreadData& TrackedMutexBasics::getPerThreadData ()
// Manually call the constructor with placement new if needed
if (! thread.id)
{
::new (&thread) PerThreadData ();
new (&thread) PerThreadData ();
bassert (thread.id != 0);
}