Ignore:
Timestamp:
04/21/17 14:56:25 (7 years ago)
Author:
yushan
Message:

clean up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan/src/group_factory_impl.hpp

    r1101 r1102  
    7070      CObjectFactory::SetCurrentContextId 
    7171      (CGroupFactory::GetCurrentContextId()); 
    72       printf("SetCurrentContextId OK %d , %d, %s\n", id.size(), CGroupFactory::HasChild(group, id), id); 
     72      //printf("SetCurrentContextId OK %d , %d, %s\n", id.size(), CGroupFactory::HasChild(group, id), id); 
    7373      if (id.size() == 0) 
    7474      { 
    7575         boost::shared_ptr<typename U::RelChild> value = CObjectFactory::CreateObject<typename U::RelChild>(); 
    76          printf("boost::shared_ptr<typename U::RelChild> value OK\n"); 
     76         //printf("boost::shared_ptr<typename U::RelChild> value OK\n"); 
    7777         group->childList.insert(group->childList.end(), value.get()); 
    78          printf("group->childList.insert OK\n"); 
     78         //printf("group->childList.insert OK\n"); 
    7979         group->childMap.insert(std::make_pair(value->getId(), value.get())); 
    80          printf("group->childMap.insert OK\n"); 
     80         //printf("group->childMap.insert OK\n"); 
    8181         return (value); 
    8282      } 
     
    8989      { 
    9090         boost::shared_ptr<typename U::RelChild> value = CObjectFactory::CreateObject<typename U::RelChild>(id); 
    91          printf("shared_ptr OK\n"); 
     91         //printf("shared_ptr OK\n"); 
    9292         group->childList.insert(group->childList.end(), value.get()); 
    93          printf("childList.insert OK\n"); 
     93         //printf("childList.insert OK\n"); 
    9494         group->childMap.insert(std::make_pair(id, value.get())); 
    95          printf("childMap.insert OK\n"); 
     95         //printf("childMap.insert OK\n"); 
    9696         return (value); 
    9797      } 
Note: See TracChangeset for help on using the changeset viewer.