summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Laner <laner@itestra.de>2014-02-26 15:09:14 +0100
committerStefan Laner <laner@itestra.de>2014-02-26 15:09:14 +0100
commitd6d48f30254dcefca310e4eb626fcc4c5b193cd7 (patch)
tree31ff4aa92917d2fb5895b7ec089817c550b6cbd1
parent44a533744c214bd15d36805c96239264348fe01b (diff)
downloadgenivi-common-api-runtime-d6d48f30254dcefca310e4eb626fcc4c5b193cd7.tar.gz
small changes to generate code that can be compiled warning free
-rw-r--r--org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceProxyGenerator.xtend4
-rw-r--r--org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceStubGenerator.xtend2
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()) {
}