summaryrefslogtreecommitdiff
authorsimon <simon>2002-04-30 14:52:52 (UTC)
committer simon <simon>2002-04-30 14:52:52 (UTC)
commit16e488f010e42436793619d918396f9453301d64 (patch) (side-by-side diff)
tree1cb9030dc1ace82990c08afb5617d393a921ac2d
parentc959b0c2170d2c12f93f5fa04ff02ca4c7c0ef4a (diff)
downloadopie-16e488f010e42436793619d918396f9453301d64.zip
opie-16e488f010e42436793619d918396f9453301d64.tar.gz
opie-16e488f010e42436793619d918396f9453301d64.tar.bz2
- ostream is part of the std namespace
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/qpdf/fixed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/unsupported/qpdf/fixed.h b/noncore/unsupported/qpdf/fixed.h
index c912954..e42aea0 100644
--- a/noncore/unsupported/qpdf/fixed.h
+++ b/noncore/unsupported/qpdf/fixed.h
@@ -171,19 +171,19 @@ template <unsigned int SH> inline fixed<SH> sqrt ( const fixed<SH> &f )
fixed<SH>::fix_t a0 = 0;
fixed<SH>::fix_t a1 = f. m_f; // take value as first approximation
do {
a0 = a1;
a1 = ( a0 + fixed<SH>::div ( f. m_f, a0 )) >> 1;
} while ( abs ( fixed<SH>::div ( a1 - a0, a1 )) > 1 );
return fixed<SH> ( a1, true );
}
-template <unsigned int SH> inline ostream &operator << ( ostream &o, const fixed<SH> &f )
+template <unsigned int SH> inline std::ostream &operator << ( std::ostream &o, const fixed<SH> &f )
{
o << double( f );
return o;
}
#endif