author | mickeyl <mickeyl> | 2003-04-05 23:28:57 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-04-05 23:28:57 (UTC) |
commit | c559d02196239873388540a07babb5a2112443d7 (patch) (side-by-side diff) | |
tree | 121e3e6fb1c5c7c55e7676103849dfda95d33c6b | |
parent | b7682f160fafe69bfd47dcfb1c88f2ac2b1afaf5 (diff) | |
download | opie-c559d02196239873388540a07babb5a2112443d7.zip opie-c559d02196239873388540a07babb5a2112443d7.tar.gz opie-c559d02196239873388540a07babb5a2112443d7.tar.bz2 |
remove inline directive - causes link errors
-rw-r--r-- | libopie2/opienet/onetutils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libopie2/opienet/onetutils.cpp b/libopie2/opienet/onetutils.cpp index 0fb21ff..2485f30 100644 --- a/libopie2/opienet/onetutils.cpp +++ b/libopie2/opienet/onetutils.cpp @@ -70,35 +70,35 @@ OMacAddress::OMacAddress( const unsigned char* p ) { memcpy( _bytes, p, 6 ); } OMacAddress::OMacAddress( struct ifreq& ifr ) { memcpy( _bytes, ifr.ifr_hwaddr.sa_data, 6 ); } OMacAddress::~OMacAddress() { } -#ifdef QT_NO_DEBUG -inline -#endif +//#ifdef QT_NO_DEBUG +//inline +//#endif const unsigned char* OMacAddress::native() const { return (const unsigned char*) &_bytes; } OMacAddress OMacAddress::fromString( const QString& str ) { QString addr( str ); unsigned char buf[6]; bool ok = true; int index = 14; for ( int i = 5; i >= 0; --i ) { buf[i] = addr.right( 2 ).toUShort( &ok, 16 ); if ( !ok ) return OMacAddress::unknown; |