author | simon <simon> | 2003-04-20 10:19:39 (UTC) |
---|---|---|
committer | simon <simon> | 2003-04-20 10:19:39 (UTC) |
commit | b2583563a61e1ac1d9207fb3c008443a5fc7dc3c (patch) (side-by-side diff) | |
tree | bd9543d81221f036aceed53e666ae1a43e26eb84 /libopie2 | |
parent | e24ed721e823232876a266cd78cd7341675b4378 (diff) | |
download | opie-b2583563a61e1ac1d9207fb3c008443a5fc7dc3c.zip opie-b2583563a61e1ac1d9207fb3c008443a5fc7dc3c.tar.gz opie-b2583563a61e1ac1d9207fb3c008443a5fc7dc3c.tar.bz2 |
- removed those:
-#ifdef QT_NO_DEBUG
-inline
-#endif
<some method here not marked inline in the header file>
it makes little sense to inline a method in the .cpp file for non-debug
builds, apart from that it causes the method not to be emitted for
non-debug builds, causing undefined references in apps referencing them
-rw-r--r-- | libopie2/opienet/onetutils.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libopie2/opienet/onetutils.cpp b/libopie2/opienet/onetutils.cpp index 236f108..e05efc2 100644 --- a/libopie2/opienet/onetutils.cpp +++ b/libopie2/opienet/onetutils.cpp @@ -151,42 +151,30 @@ OPrivateIOCTL::OPrivateIOCTL( QObject* parent, const char* name, int cmd, int ge OPrivateIOCTL::~OPrivateIOCTL() { } -#ifdef QT_NO_DEBUG -inline -#endif int OPrivateIOCTL::numberGetArgs() const { return _getargs & IW_PRIV_SIZE_MASK; } -#ifdef QT_NO_DEBUG -inline -#endif int OPrivateIOCTL::typeGetArgs() const { return _getargs & IW_PRIV_TYPE_MASK >> 12; } -#ifdef QT_NO_DEBUG -inline -#endif int OPrivateIOCTL::numberSetArgs() const { return _setargs & IW_PRIV_SIZE_MASK; } -#ifdef QT_NO_DEBUG -inline -#endif int OPrivateIOCTL::typeSetArgs() const { return _setargs & IW_PRIV_TYPE_MASK >> 12; } |