Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 22, 2015, 5:30:57 PM (9 years ago)
Author:
landauf
Message:

replace all remaining usages of SharedPtr with std::shared_ptr

Location:
code/branches/cpp11_v2/src/libraries/util/output
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/util/output/OutputManager.cc

    r10821 r10829  
    4141#include "util/Output.h"
    4242#include "util/StringUtils.h"
    43 #include "util/SharedPtr.h"
    4443
    4544namespace orxonox
     
    8180    }
    8281
    83     /*static*/ SharedPtr<OutputManager>& OutputManager::Testing::getInstancePointer()
    84     {
    85         static SharedPtr<OutputManager> instance(new OutputManager());
     82    /*static*/ std::shared_ptr<OutputManager>& OutputManager::Testing::getInstancePointer()
     83    {
     84        static std::shared_ptr<OutputManager> instance(new OutputManager());
    8685        return instance;
    8786    }
  • code/branches/cpp11_v2/src/libraries/util/output/OutputManager.h

    r10817 r10829  
    4141#include <vector>
    4242#include <map>
     43#include <memory>
    4344
    4445#include "OutputDefinitions.h"
     
    137138            struct _UtilExport Testing
    138139            {
    139                 static SharedPtr<OutputManager>& getInstancePointer();
     140                static std::shared_ptr<OutputManager>& getInstancePointer();
    140141            };
    141142    };
Note: See TracChangeset for help on using the changeset viewer.