You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2001/07/25 21:06:57 UTC
cvs commit: xml-xerces/c/src/util XMLDouble.cpp
peiyongz 01/07/25 12:06:56
Modified: c/src/util XMLDouble.cpp
Log:
Fix to Linux compilation error: XMLDouble::LiteralType' is not an aggregate type
Revision Changes Path
1.3 +9 -6 xml-xerces/c/src/util/XMLDouble.cpp
Index: XMLDouble.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/XMLDouble.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XMLDouble.cpp 2001/07/24 21:52:27 1.2
+++ XMLDouble.cpp 2001/07/25 19:06:56 1.3
@@ -55,8 +55,11 @@
*/
/*
- * $Id: XMLDouble.cpp,v 1.2 2001/07/24 21:52:27 peiyongz Exp $
+ * $Id: XMLDouble.cpp,v 1.3 2001/07/25 19:06:56 peiyongz Exp $
* $Log: XMLDouble.cpp,v $
+ * Revision 1.3 2001/07/25 19:06:56 peiyongz
+ * Fix to Linux compilation error: XMLDouble::LiteralType' is not an aggregate type
+ *
* Revision 1.2 2001/07/24 21:52:27 peiyongz
* XMLDouble: move fg...String to XMLUni
*
@@ -109,27 +112,27 @@
if (XMLString::compareString(tmpStrValue, XMLUni::fgNegINFString) == 0)
{
- fType = LiteralType::NegINF;
+ fType = NegINF;
return;
}
else if (XMLString::compareString(tmpStrValue, XMLUni::fgNegZeroString) == 0)
{
- fType = LiteralType::NegZero;
+ fType = NegZero;
return;
}
else if (XMLString::compareString(tmpStrValue, XMLUni::fgPosZeroString) == 0)
{
- fType = LiteralType::PosZero;
+ fType = PosZero;
return;
}
else if (XMLString::compareString(tmpStrValue, XMLUni::fgPosINFString) == 0)
{
- fType = LiteralType::PosINF;
+ fType = PosINF;
return;
}
else if (XMLString::compareString(tmpStrValue, XMLUni::fgNaNString) == 0)
{
- fType = LiteralType::NaN;
+ fType = NaN;
return;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org