ENH: getting closer

This commit is contained in:
Bill Hoffman
2005-02-01 15:48:33 -05:00
parent 3bb54c00d5
commit 7baa78034e
2 changed files with 28 additions and 2 deletions
+8
View File
@@ -20,6 +20,14 @@ cmXCodeObject::cmXCodeObject(PBXType ptype, Type type)
str << (void*)this;
m_Id = str.str();
cmSystemTools::ReplaceString(m_Id, "0x", "");
if(m_Id.size() < 24)
{
int diff = 24 - m_Id.size();
for(int i =0; i < diff; ++i)
{
m_Id += "0";
}
}
m_Type = type;
if(m_Type == OBJECT)
{