From 864a704317a16029827cce1465f501f1bd7f409d Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Thu, 20 Jun 2024 11:07:09 +0200 Subject: [PATCH] Make Start() an inline function --- generator/src/generator/Declaration.egl | 2 +- test/generated/IScXmlTestImpl.hxx | 2 +- test/generated/IXmiTestImpl.hxx | 2 +- test/generated/ScXmlTestDeclaration.hxx | 4 ++-- test/generated/ScXmlTestInstance.hxx | 2 +- test/generated/XmiTestDeclaration.hxx | 4 ++-- test/generated/XmiTestInstance.hxx | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/generator/src/generator/Declaration.egl b/generator/src/generator/Declaration.egl index 1027aae..3fd7485 100644 --- a/generator/src/generator/Declaration.egl +++ b/generator/src/generator/Declaration.egl @@ -13,7 +13,7 @@ public: %] [%=regionTemplate.process()%] - void Start() + inline void Start() { [%=statemachine.name%]Base::Start(&[%=statemachine.region.initial_variable_name%]); } diff --git a/test/generated/IScXmlTestImpl.hxx b/test/generated/IScXmlTestImpl.hxx index 10f2338..d2fc861 100644 --- a/test/generated/IScXmlTestImpl.hxx +++ b/test/generated/IScXmlTestImpl.hxx @@ -1,5 +1,5 @@ // Statemachine ScXmlTest implementation interface -// Generated: 20.06.24, 10:59 +// Generated: 20.06.24, 11:05 #pragma once diff --git a/test/generated/IXmiTestImpl.hxx b/test/generated/IXmiTestImpl.hxx index 9338e02..82a4964 100644 --- a/test/generated/IXmiTestImpl.hxx +++ b/test/generated/IXmiTestImpl.hxx @@ -1,5 +1,5 @@ // Statemachine XmiTest implementation interface -// Generated: 20.06.24, 10:59 +// Generated: 20.06.24, 11:05 #pragma once diff --git a/test/generated/ScXmlTestDeclaration.hxx b/test/generated/ScXmlTestDeclaration.hxx index c02bbfa..eeec96c 100644 --- a/test/generated/ScXmlTestDeclaration.hxx +++ b/test/generated/ScXmlTestDeclaration.hxx @@ -1,5 +1,5 @@ // Statemachine ScXmlTest declaration -// Generated: 20.06.24, 10:59 +// Generated: 20.06.24, 11:05 #pragma once @@ -25,7 +25,7 @@ class ScXmlTest final : public ScXmlTestBase // State State_1::State_4::State_6 static const State kState_1State_4State_6; - void Start() + inline void Start() { ScXmlTestBase::Start(&kState_1); } diff --git a/test/generated/ScXmlTestInstance.hxx b/test/generated/ScXmlTestInstance.hxx index 541c3dd..7ddfdf5 100644 --- a/test/generated/ScXmlTestInstance.hxx +++ b/test/generated/ScXmlTestInstance.hxx @@ -1,5 +1,5 @@ // Statemachine ScXmlTest instance -// Generated: 20.06.24, 10:59 +// Generated: 20.06.24, 11:05 #pragma once diff --git a/test/generated/XmiTestDeclaration.hxx b/test/generated/XmiTestDeclaration.hxx index 2e2d120..975ceb4 100644 --- a/test/generated/XmiTestDeclaration.hxx +++ b/test/generated/XmiTestDeclaration.hxx @@ -1,5 +1,5 @@ // Statemachine XmiTest declaration -// Generated: 20.06.24, 10:59 +// Generated: 20.06.24, 11:05 #pragma once @@ -25,7 +25,7 @@ class XmiTest final : public XmiTestBase // State State_1::State_4::State_5 static const State kState_1State_4State_5; - void Start() + inline void Start() { XmiTestBase::Start(&kState_1); } diff --git a/test/generated/XmiTestInstance.hxx b/test/generated/XmiTestInstance.hxx index 01a23f0..11ac268 100644 --- a/test/generated/XmiTestInstance.hxx +++ b/test/generated/XmiTestInstance.hxx @@ -1,5 +1,5 @@ // Statemachine XmiTest instance -// Generated: 20.06.24, 10:59 +// Generated: 20.06.24, 11:05 #pragma once