[TD]const-ness for dump function parameter

This commit is contained in:
wandererfan
2019-11-08 22:37:01 -05:00
committed by WandererFan
parent b0c9325432
commit a7ad04ba4a
19 changed files with 94 additions and 94 deletions

View File

@@ -284,7 +284,7 @@ std::vector<double> PATLineSpec::split(std::string line)
return result;
}
void PATLineSpec::dump(char* title)
void PATLineSpec::dump(const char* title)
{
Base::Console().Message( "DUMP: %s\n",title);
Base::Console().Message( "Angle: %.3f\n", m_angle);
@@ -475,7 +475,7 @@ DashSpec DashSpec::reversed(void)
return result;
}
void DashSpec::dump(char* title)
void DashSpec::dump(const char* title)
{
std::stringstream ss;
ss << title << ": " ;