Skip to content

Commit 4195c28

Browse files
committed
GCC Fixes for 8.2.0
1 parent e913e9b commit 4195c28

21 files changed

+38
-34
lines changed

projects/biogears/libBiogears/include/biogears/cdm/scenario/SEConditionManager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ specific language governing permissions and limitations under the License.
3131

3232
namespace biogears {
3333
namespace io {
34-
Conditions;
34+
class Conditions;
3535
}
3636
class PhysiologyEngine;
3737

@@ -109,4 +109,4 @@ class BIOGEARS_API SEConditionManager : public Loggable {
109109
std::vector<SECondition*> m_Conditions;
110110
std::stringstream m_ss;
111111
};
112-
}
112+
}

projects/biogears/libBiogears/src/cdm/engine/PhysiologyEngineConfiguration.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ void PhysiologyEngineConfiguration::Invalidate()
5757
void PhysiologyEngineConfiguration::Merge(const PhysiologyEngineConfiguration& from)
5858
{
5959
m_Merge = true;
60-
CDM_BIOGEARS_CONFIGURATION_COPY(PhysiologyEngineConfiguration, from, *this)
60+
CDM::PhysiologyEngineConfigurationData middle;
61+
io::EngineConfiguration::Marshall(from, middle);
62+
io::EngineConfiguration::UnMarshall(middle, *this);
6163
m_Merge = false;
6264
}
6365
//-----------------------------------------------------------------------------
@@ -232,4 +234,4 @@ bool PhysiologyEngineConfiguration::operator!=(PhysiologyEngineConfiguration con
232234
return !(*this == rhs);
233235
}
234236
//-----------------------------------------------------------------------------
235-
}
237+
}

projects/biogears/libBiogears/src/cdm/system/equipment/ElectroCardioGram/SEElectroCardioGramInterpolator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ specific language governing permissions and limitations under the License.
1212
#include <biogears/cdm/system/equipment/ElectroCardioGram/SEElectroCardioGramInterpolator.h>
1313

1414
#include "io/cdm/ElectroCardioGram.h"
15-
#include "io/cdm/property.h"
15+
#include "io/cdm/Property.h"
1616

1717
#include <biogears/cdm/Serializer.h>
1818
#include <biogears/cdm/properties/SEFunctionElectricPotentialVsTime.h>

projects/biogears/libBiogears/src/io/biogears/BioGears.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ specific language governing permissions and limitations under the License.
4646

4747
#define CDM_BIOGEARS_COPY(type, in, out) \
4848
{ \
49-
CDM::##type##Data middle; \
49+
CDM::type##Data middle; \
5050
io::BioGears::Marshall(in, middle); \
5151
io::BioGears::UnMarshall(middle, out); \
5252
}

projects/biogears/libBiogears/src/io/biogears/BioGearsConfiguration.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ specific language governing permissions and limitations under the License.
3131

3232
#define CDM_BIOGEARS_ENGINE_CONFIGURATION_COPY(type, in, out) \
3333
{ \
34-
CDM::##type##Data middle; \
34+
CDM::type##Data middle; \
3535
io::BiogearsEngineConfiguration::Marshall(in, middle); \
3636
io::BiogearsEngineConfiguration::UnMarshall(middle, out); \
3737
}

projects/biogears/libBiogears/src/io/cdm/ElectroCardioGram.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ specific language governing permissions and limitations under the License.
3131

3232
#define CDM_ELECTRO_CARDIOGRAM_COPY(type, in, out) \
3333
{ \
34-
CDM::##type##Data middle; \
34+
CDM::type##Data middle; \
3535
io::ElectroCardioGram::Marshall(in, middle); \
3636
io::ElectroCardioGram::UnMarshall(middle, out); \
3737
}

projects/biogears/libBiogears/src/io/cdm/EngineConfiguration.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ specific language governing permissions and limitations under the License.
3131

3232
#define CDM_BIOGEARS_CONFIGURATION_COPY(type, in, out) \
3333
{ \
34-
CDM::##type##Data middle; \
34+
CDM::type##Data middle; \
3535
io::EngineConfiguration::Marshall(in, middle); \
3636
io::EngineConfiguration::UnMarshall(middle, out); \
3737
}

projects/biogears/libBiogears/src/io/cdm/Environment.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ specific language governing permissions and limitations under the License.
4343

4444
#define CDM_ENVIRONMENT_COPY(type, in, out) \
4545
{ \
46-
CDM::##type##Data middle; \
46+
CDM::type##Data middle; \
4747
io::Environment::Marshall(in, middle); \
4848
io::Environment::UnMarshall(middle, out); \
4949
}

projects/biogears/libBiogears/src/io/cdm/Patient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ specific language governing permissions and limitations under the License.
4141

4242
#define CDM_PATIENT_COPY(type, in, out) \
4343
{ \
44-
CDM::##type##Data middle; \
44+
CDM::type##Data middle; \
4545
io::Patient::Marshall(in, middle); \
4646
io::Patient::UnMarshall(middle, out); \
4747
}

projects/biogears/libBiogears/src/io/cdm/PatientActions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ specific language governing permissions and limitations under the License.
4444

4545
#define CDM_PATIENT_ACTION_COPY(type, in, out) \
4646
{ \
47-
CDM::##type##Data middle; \
47+
CDM::type##Data middle; \
4848
io::PatientActions::Marshall(in, middle); \
4949
io::PatientActions::UnMarshall(middle, out); \
5050
}

0 commit comments

Comments
 (0)