diff options
author | Stefan Laner <laner@itestra.de> | 2014-02-26 15:09:14 +0100 |
---|---|---|
committer | Stefan Laner <laner@itestra.de> | 2014-02-26 15:09:14 +0100 |
commit | d6d48f30254dcefca310e4eb626fcc4c5b193cd7 (patch) | |
tree | 31ff4aa92917d2fb5895b7ec089817c550b6cbd1 | |
parent | 44a533744c214bd15d36805c96239264348fe01b (diff) | |
download | genivi-common-api-runtime-d6d48f30254dcefca310e4eb626fcc4c5b193cd7.tar.gz |
small changes to generate code that can be compiled warning free
2 files changed, 3 insertions, 3 deletions
diff --git a/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceProxyGenerator.xtend b/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceProxyGenerator.xtend index aec3e6a..30480a3 100644 --- a/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceProxyGenerator.xtend +++ b/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceProxyGenerator.xtend @@ -285,8 +285,8 @@ class FInterfaceProxyGenerator { «IF fInterface.base != null» «fInterface.base.proxyClassName»<_AttributeExtensions...>(delegate), «ENDIF» - delegate_(std::dynamic_pointer_cast<«fInterface.proxyBaseClassName»>(delegate)), - _AttributeExtensions(*(std::dynamic_pointer_cast<«fInterface.proxyBaseClassName»>(delegate)))... { + _AttributeExtensions(*(std::dynamic_pointer_cast<«fInterface.proxyBaseClassName»>(delegate)))..., + delegate_(std::dynamic_pointer_cast<«fInterface.proxyBaseClassName»>(delegate)) { } template <typename ... _AttributeExtensions> diff --git a/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceStubGenerator.xtend b/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceStubGenerator.xtend index b2f93c4..d9b1ad7 100644 --- a/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceStubGenerator.xtend +++ b/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceStubGenerator.xtend @@ -321,10 +321,10 @@ class FInterfaceStubGenerator { «fInterface.model.generateNamespaceBeginDeclaration» «fInterface.stubDefaultClassName»::«fInterface.stubDefaultClassName»(): + remoteEventHandler_(this), «IF !fInterface.managedInterfaces.empty» autoInstanceCounter_(0), «ENDIF» - remoteEventHandler_(this), interfaceVersion_(«fInterface.elementName»::getInterfaceVersion()) { } |