X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/src/common/datstrm.cpp diff --git a/src/common/datstrm.cpp b/src/common/datstrm.cpp index 2c4f1466de..b661775598 100644 --- a/src/common/datstrm.cpp +++ b/src/common/datstrm.cpp @@ -6,7 +6,7 @@ // Created: 28/06/98 // RCS-ID: $Id$ // Copyright: (c) Guilhem Lavaux -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) @@ -30,18 +30,14 @@ #if wxUSE_UNICODE wxDataInputStream::wxDataInputStream(wxInputStream& s, wxMBConv& conv) - : m_input(&s), m_be_order(FALSE), m_conv(conv) + : m_input(&s), m_be_order(false), m_conv(conv) #else wxDataInputStream::wxDataInputStream(wxInputStream& s) - : m_input(&s), m_be_order(FALSE) + : m_input(&s), m_be_order(false) #endif { } -wxDataInputStream::~wxDataInputStream() -{ -} - wxUint64 wxDataInputStream::Read64() { wxUint64 i64; @@ -269,18 +265,14 @@ wxDataInputStream& wxDataInputStream::operator>>(float& f) #if wxUSE_UNICODE wxDataOutputStream::wxDataOutputStream(wxOutputStream& s, wxMBConv& conv) - : m_output(&s), m_be_order(FALSE), m_conv(conv) + : m_output(&s), m_be_order(false), m_conv(conv) #else wxDataOutputStream::wxDataOutputStream(wxOutputStream& s) - : m_output(&s), m_be_order(FALSE) + : m_output(&s), m_be_order(false) #endif { } -wxDataOutputStream::~wxDataOutputStream() -{ -} - void wxDataOutputStream::Write64(wxUint64 i) { wxUint64 i64; @@ -343,7 +335,7 @@ void wxDataOutputStream::WriteDouble(double d) #if wxUSE_APPLE_IEEE ConvertToIeeeExtended(d, (unsigned char *)buf); #else -#ifndef __VMS__ +#if !defined(__VMS__) && !defined(__GNUG__) # pragma warning "wxDataOutputStream::WriteDouble() not using IeeeExtended - will not work!" #endif buf[0] = '\0';