summaryrefslogtreecommitdiff
authorsimon <simon>2003-04-20 10:19:39 (UTC)
committer simon <simon>2003-04-20 10:19:39 (UTC)
commitb2583563a61e1ac1d9207fb3c008443a5fc7dc3c (patch) (side-by-side diff)
treebd9543d81221f036aceed53e666ae1a43e26eb84
parente24ed721e823232876a266cd78cd7341675b4378 (diff)
downloadopie-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
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/onetutils.cpp12
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
@@ -149,46 +149,34 @@ 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;
}
void OPrivateIOCTL::invoke() const
{