aboutsummaryrefslogtreecommitdiffstats
path: root/parameter/SubsystemObjectFactory.h
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2014-10-24 17:41:58 +0200
committerDavid Wagner <david.wagner@intel.com>2014-10-24 17:41:58 +0200
commitd9ad02e2a322fff355cd113c5bb98ff4667a95f2 (patch)
tree7bfbb4fd253ffa8abb98f03887a4e76f1f26caaa /parameter/SubsystemObjectFactory.h
parenta022e315ecfede7bb37ab17382482eb794b33f00 (diff)
parentd9526499d6ab53b7d13d1434f748f6f2161c2e0a (diff)
downloadexternal_parameter-framework-d9ad02e2a322fff355cd113c5bb98ff4667a95f2.zip
external_parameter-framework-d9ad02e2a322fff355cd113c5bb98ff4667a95f2.tar.gz
external_parameter-framework-d9ad02e2a322fff355cd113c5bb98ff4667a95f2.tar.bz2
Merge pull request #13 from 01org/OznOg-bis
some C++ cleanup
Diffstat (limited to 'parameter/SubsystemObjectFactory.h')
-rw-r--r--parameter/SubsystemObjectFactory.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/parameter/SubsystemObjectFactory.h b/parameter/SubsystemObjectFactory.h
index bef69d6..3ac7835 100644
--- a/parameter/SubsystemObjectFactory.h
+++ b/parameter/SubsystemObjectFactory.h
@@ -30,15 +30,16 @@
#pragma once
#include "SubsystemObjectCreator.h"
+#include <string>
template <class SubsystemObjectType>
class TSubsystemObjectFactory : public CSubsystemObjectCreator
{
public:
- TSubsystemObjectFactory(const string& strMappingKey, uint32_t uiAncestorIdMask, uint32_t uiMaxConfigurableElementSize = -1) : CSubsystemObjectCreator(strMappingKey, uiAncestorIdMask, uiMaxConfigurableElementSize) {}
+ TSubsystemObjectFactory(const std::string& strMappingKey, uint32_t uiAncestorIdMask, uint32_t uiMaxConfigurableElementSize = -1) : CSubsystemObjectCreator(strMappingKey, uiAncestorIdMask, uiMaxConfigurableElementSize) {}
// Object creation
- virtual CSubsystemObject* objectCreate(const string& strMappingValue, CInstanceConfigurableElement* pInstanceConfigurableElement, const CMappingContext& context) const
+ virtual CSubsystemObject* objectCreate(const std::string& strMappingValue, CInstanceConfigurableElement* pInstanceConfigurableElement, const CMappingContext& context) const
{
return new SubsystemObjectType(strMappingValue, pInstanceConfigurableElement, context);
}