Fix another one....

This commit is contained in:
jriegel 2013-12-16 00:26:47 +01:00
parent e7e0bbfbe5
commit 112a672fec

View File

@ -25,7 +25,7 @@ std::string UnitPy::representation(void) const
ret << Sig.AmountOfSubstance << ",";
ret << Sig.LuminoseIntensity << ",";
ret << Sig.Angle << ")";
std::string type = getUnitPtr()->getTypeString().toLatin1();
std::string type = getUnitPtr()->getTypeString().toLatin1().constData();
if(! type.empty())
ret << " [" << type << "]";