fix bug[ 446592 ] SmartPtr an threading (RefCountedMT)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@212 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
18884e392f
commit
0ed8a7a091
1 changed files with 2 additions and 1 deletions
|
@ -172,7 +172,8 @@ namespace Loki
|
|||
SmallObject<ThreadingModel>::operator new(
|
||||
sizeof(*pCount_)));
|
||||
assert(pCount_);
|
||||
*pCount_ = 1;
|
||||
//*pCount_ = 1;
|
||||
ThreadingModel<RefCountedMT>::AtomicAssign(*pCount_, 1);
|
||||
}
|
||||
|
||||
RefCountedMT(const RefCountedMT& rhs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue