Changeset 10776 for code/branches
- Timestamp:
- Nov 8, 2015, 11:11:00 AM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/libraries/core/config
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/config/ConfigFileManager.cc
r10768 r10776 47 47 ConfigFileManager::ConfigFileManager() 48 48 { 49 this->configFiles_. assign(nullptr);49 this->configFiles_.fill(nullptr); 50 50 } 51 51 … … 53 53 ConfigFileManager::~ConfigFileManager() 54 54 { 55 for ( boost::array<ConfigFile*, 3>::const_iterator it = this->configFiles_.begin(); it != this->configFiles_.end(); ++it)55 for (std::array<ConfigFile*, 3>::const_iterator it = this->configFiles_.begin(); it != this->configFiles_.end(); ++it) 56 56 if (*it) 57 57 delete (*it); -
code/branches/cpp11_v2/src/libraries/core/config/ConfigFileManager.h
r9559 r10776 38 38 #include "core/CorePrereqs.h" 39 39 40 #include < boost/array.hpp>40 #include <array> 41 41 42 42 #include "util/Singleton.h" … … 69 69 ConfigFileManager(const ConfigFileManager&); ///< Copy-constructor: not implemented 70 70 71 boost::array<ConfigFile*, 3> configFiles_;///< Stores the config files for each type in an array (must have the same size like ConfigFileType::Value)71 std::array<ConfigFile*, 3> configFiles_; ///< Stores the config files for each type in an array (must have the same size like ConfigFileType::Value) 72 72 static ConfigFileManager* singletonPtr_s; ///< Stores the singleton-pointer 73 73 };
Note: See TracChangeset
for help on using the changeset viewer.