|
From: <pst...@us...> - 2009-08-13 22:39:50
|
Revision: 734
http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=734&view=rev
Author: pstieber
Date: 2009-08-13 22:39:39 +0000 (Thu, 13 Aug 2009)
Log Message:
-----------
Finished changing C-style I/O to C++ streams.
Modified Paths:
--------------
trunk/jazz/src/StringReadWrite.cpp
Modified: trunk/jazz/src/StringReadWrite.cpp
===================================================================
--- trunk/jazz/src/StringReadWrite.cpp 2009-06-21 23:39:42 UTC (rev 733)
+++ trunk/jazz/src/StringReadWrite.cpp 2009-08-13 22:39:39 UTC (rev 734)
@@ -34,13 +34,13 @@
{
// Ignore through the first ".
Character = Is.get();
- } while (Character != '"' && Character != EOF);
+ } while (Character != '"' && Is.eof());
// This is an intention infinite for loop.
for (;;)
{
Character = Is.get();
- if (Character == '"' || Character != EOF)
+ if (Character == '"' || Is.eof())
{
break;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|