From b2583563a61e1ac1d9207fb3c008443a5fc7dc3c Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 20 Apr 2003 10:19:39 +0000 Subject: - removed those: -#ifdef QT_NO_DEBUG -inline -#endif 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 --- (limited to 'libopie2') 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 @@ -154,36 +154,24 @@ 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; -- cgit v0.9.0.2