Skip to content

Commit c5227b6

Browse files
committed
Fixes for Clang
1 parent 03c9908 commit c5227b6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

projects/biogears/libBiogears/unit/cdm/properties/test_core_cdm_SEScalarQuantity.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
#include <biogears/cdm/utils/unitconversion/UCCommon.h>
2727
#include <biogears/cdm/utils/unitconversion/CompoundUnit.h>
2828
#include "biogears/cdm/properties/SEScalarMass.h"
29+
#include "biogears/cdm/properties/SEScalarQuantity.h"
30+
2931

3032
#ifdef DISABLE_BIOGEARS_SEScalarQuantity_TEST
3133
#define TEST_FIXTURE_NAME DISABLED_SEScalarQuantity_Fixture
@@ -96,7 +98,7 @@ using namespace biogears;
9698
const TestUnit TestUnit::kg = TestUnit{ "kg" };
9799
const TestUnit TestUnit::lb = TestUnit{ "lb" };
98100

99-
template class SEScalarQuantity<TestUnit>;
101+
template class biogears::SEScalarQuantity<TestUnit>;
100102

101103
class TestScalarQuantity : public SEScalarQuantity<TestUnit> {
102104
public:

projects/howto/InductionDemo/src/HowTo-induction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ InductionThread::InductionThread(const std::string logFile, std::string stateFil
7474
//Create the engine and load patient state
7575
int dochem = (int)(2);
7676
m_bg = CreateBioGearsEngine(logFile);
77-
m_bg->GetLogger()->Info(asprintf("Initiating %f %s", logFile, "% hemorrhage flow rate, for patient"));
77+
m_bg->GetLogger()->Info(asprintf("Initiating %f %s", logFile.c_str(), "% hemorrhage flow rate, for patient"));
7878
std::string statePath = "./states/";
7979
statePath.append(stateFile);
8080
m_bg->GetLogger()->Info(statePath);

0 commit comments

Comments
 (0)