diff options
author | Stefan Laner <Stefan.Laner@partner.bmw.de> | 2014-03-13 17:43:14 +0100 |
---|---|---|
committer | Gerrit Code Review <qqmthk1@lpmodthk02.bmwgroup.net> | 2014-03-13 17:43:14 +0100 |
commit | ef5860381c7dd1d3f55efafd226e8dc8b3d239b5 (patch) | |
tree | cf8718de825854adebf9ec8c208994aaf1a78472 | |
parent | 270cab4378a3b5fb19683eb79041b5d424251fb9 (diff) | |
parent | 6888f06d3e45e62198aaa8e15401fccb1a0a56b8 (diff) | |
download | genivi-common-api-runtime-ef5860381c7dd1d3f55efafd226e8dc8b3d239b5.tar.gz |
Merge "Fixed a minor bug for the StubDefault generation"
-rw-r--r-- | org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceStubGenerator.xtend | 2 |
1 files changed, 1 insertions, 1 deletions
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 d9b1ad7..30f22da 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 @@ -350,7 +350,7 @@ class FInterfaceStubGenerator { void «fInterface.stubDefaultClassName»::«attribute.stubDefaultClassSetMethodName»(«attribute.getTypeName(fInterface.model)» value) { «IF attribute.isObservable»const bool valueChanged = «ENDIF»«attribute.stubDefaultClassTrySetMethodName»(std::move(value)); «IF attribute.isObservable» - if (valueChanged) { + if (valueChanged && stubAdapter_ != NULL) { stubAdapter_->«attribute.stubAdapterClassFireChangedMethodName»(«attribute.stubDefaultClassVariableName»); } «ENDIF» |