Skip to content

Commit

Permalink
Fix another one....
Browse files Browse the repository at this point in the history
  • Loading branch information
jriegel committed Dec 15, 2013
1 parent e7e0bbf commit 112a672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Base/UnitPyImp.cpp
Expand Up @@ -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 << "]";

Expand Down

0 comments on commit 112a672

Please sign in to comment.