(int) added
This commit is contained in:
@@ -14,7 +14,7 @@ void MbD::ASMTAnimationParameters::parseASMT(std::vector<std::string>& lines)
|
||||
{
|
||||
//int nframe, icurrent, istart, iend, framesPerSecond;
|
||||
//bool isForward;
|
||||
int pos = lines[0].find_first_not_of("\t");
|
||||
int pos = (int)lines[0].find_first_not_of("\t");
|
||||
auto leadingTabs = lines[0].substr(0, pos);
|
||||
assert(lines[0] == (leadingTabs + "nframe"));
|
||||
lines.erase(lines.begin());
|
||||
|
||||
@@ -19,7 +19,7 @@ MbD::ASMTPrincipalMassMarker::ASMTPrincipalMassMarker()
|
||||
|
||||
void MbD::ASMTPrincipalMassMarker::parseASMT(std::vector<std::string>& lines)
|
||||
{
|
||||
int pos = lines[0].find_first_not_of("\t");
|
||||
int pos = (int)lines[0].find_first_not_of("\t");
|
||||
auto leadingTabs = lines[0].substr(0, pos);
|
||||
assert(lines[0] == (leadingTabs + "Name"));
|
||||
lines.erase(lines.begin());
|
||||
|
||||
@@ -14,7 +14,7 @@ void MbD::ASMTSimulationParameters::parseASMT(std::vector<std::string>& lines)
|
||||
{
|
||||
//tstart, tend, hmin, hmax, hout, errorTol;
|
||||
|
||||
int pos = lines[0].find_first_not_of("\t");
|
||||
int pos = (int)lines[0].find_first_not_of("\t");
|
||||
auto leadingTabs = lines[0].substr(0, pos);
|
||||
assert(lines[0] == (leadingTabs + "tstart"));
|
||||
lines.erase(lines.begin());
|
||||
|
||||
Reference in New Issue
Block a user