Ignore:
Timestamp:
07/09/12 11:33:05 (12 years ago)
Author:
ymipsl
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/group_factory_impl.hpp

    r347 r352  
    11#ifndef __XMLIO_CGroupFactory_impl__ 
    22#define __XMLIO_CGroupFactory_impl__ 
     3 
     4#include "group_factory.hpp" 
    35 
    46namespace xios 
     
    1416               << " pgroup or cgroup NULL !"); 
    1517      if (!cgroup->hasId()) 
    16          pgroup->groupList.insert(pgroup->groupList.end(), cgroup); 
     18         pgroup->groupList.insert(pgroup->groupList.end(), cgroup.get()); 
    1719      else 
    1820      { 
    19          pgroup->groupList.insert(pgroup->groupList.end(), cgroup); 
    20          pgroup->groupMap.insert(std::make_pair(cgroup->getId(), cgroup)); 
     21         pgroup->groupList.insert(pgroup->groupList.end(), cgroup.get()); 
     22         pgroup->groupMap.insert(std::make_pair(cgroup->getId(), cgroup.get())); 
    2123      } 
    2224   } 
Note: See TracChangeset for help on using the changeset viewer.