/[escript]/branches/arrexp_2137_win_merge/escript/src/DataAbstract.cpp
ViewVC logotype

Diff of /branches/arrexp_2137_win_merge/escript/src/DataAbstract.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2221 by jfenwick, Mon Jan 19 06:11:25 2009 UTC revision 2222 by jfenwick, Tue Jan 20 04:52:39 2009 UTC
# Line 54  const_DataAbstract_ptr DataAbstract::get Line 54  const_DataAbstract_ptr DataAbstract::get
54  bool DataAbstract::checkNoSharing() const  bool DataAbstract::checkNoSharing() const
55  {  {
56    
57    return m_owners.size()<2;    return !m_lazyshared && (m_owners.size()<2);
58    
59  /*  if (_internal_weak_this.expired())  // there is no shared_ptr for this object yet  /*  if (_internal_weak_this.expired())  // there is no shared_ptr for this object yet
60    {    {

Legend:
Removed from v.2221  
changed lines
  Added in v.2222

  ViewVC Help
Powered by ViewVC 1.1.26