Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 17, 2009, 3:17:15 PM (15 years ago)
Author:
rgrieder
Message:

Added using declaration for boost::shared_ptr, weak_ptr and scoped_ptr to OrxonoxConfig.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource2/src/OrxonoxConfig.h.in

    r3196 r5651  
    198198}
    199199
     200// Import general purpose smart pointers
     201namespace boost
     202{
     203    template<class T> class scoped_ptr;
     204    template<class T> class shared_ptr;
     205    template<class T> class weak_ptr;
     206}
     207namespace orxonox
     208{
     209    using boost::scoped_ptr;
     210    using boost::shared_ptr;
     211    using boost::weak_ptr;
     212}
     213
    200214#endif /* _OrxonoxConfig_H__ */
Note: See TracChangeset for help on using the changeset viewer.