Ignore:
Timestamp:
06/13/18 16:48:53 (2 years ago)
Author:
oabramkina
Message:

Replacing Boost's unordered_map and shared_pointer by its STL counterparts.

Two notes for Curie:

  • one can see the content of unordered_map with ddt only if XIOS has been compiled with gnu
  • XIOS will not compile any more with pgi (all available versions use old STL which are not up to the c++11 norms)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/context.hpp

    r1378 r1542  
    88 
    99#include "declare_group.hpp" 
    10 //#include "context_client.hpp" 
    11 //#include "context_server.hpp" 
    1210#include "data_output.hpp" 
    1311#include "garbage_collector.hpp" 
     
    8381 
    8482         /// Mutateurs /// 
    85          void setCalendar(boost::shared_ptr<CCalendar> newCalendar); 
     83         void setCalendar(std::shared_ptr<CCalendar> newCalendar); 
    8684 
    8785         /// Accesseurs /// 
    88          boost::shared_ptr<CCalendar>      getCalendar(void) const; 
     86         std::shared_ptr<CCalendar>      getCalendar(void) const; 
    8987 
    9088      public : 
     
    227225      public : 
    228226         // Calendar of context 
    229          boost::shared_ptr<CCalendar>   calendar; 
     227         std::shared_ptr<CCalendar>   calendar; 
    230228 
    231229         // List of all enabled files (files on which fields are written or read) 
     
    241239 
    242240         // Context root 
    243          static shared_ptr<CContextGroup> root; 
     241         static std::shared_ptr<CContextGroup> root; 
    244242 
    245243         // Determine context on client or not 
Note: See TracChangeset for help on using the changeset viewer.