summaryrefslogtreecommitdiff
authorsimon <simon>2003-04-20 10:19:39 (UTC)
committer simon <simon>2003-04-20 10:19:39 (UTC)
commitb2583563a61e1ac1d9207fb3c008443a5fc7dc3c (patch) (unidiff)
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
@@ -154,36 +154,24 @@ OPrivateIOCTL::~OPrivateIOCTL()
154} 154}
155 155
156 156
157#ifdef QT_NO_DEBUG
158inline
159#endif
160int OPrivateIOCTL::numberGetArgs() const 157int OPrivateIOCTL::numberGetArgs() const
161{ 158{
162 return _getargs & IW_PRIV_SIZE_MASK; 159 return _getargs & IW_PRIV_SIZE_MASK;
163} 160}
164 161
165 162
166#ifdef QT_NO_DEBUG
167inline
168#endif
169int OPrivateIOCTL::typeGetArgs() const 163int OPrivateIOCTL::typeGetArgs() const
170{ 164{
171 return _getargs & IW_PRIV_TYPE_MASK >> 12; 165 return _getargs & IW_PRIV_TYPE_MASK >> 12;
172} 166}
173 167
174 168
175#ifdef QT_NO_DEBUG
176inline
177#endif
178int OPrivateIOCTL::numberSetArgs() const 169int OPrivateIOCTL::numberSetArgs() const
179{ 170{
180 return _setargs & IW_PRIV_SIZE_MASK; 171 return _setargs & IW_PRIV_SIZE_MASK;
181} 172}
182 173
183 174
184#ifdef QT_NO_DEBUG
185inline
186#endif
187int OPrivateIOCTL::typeSetArgs() const 175int OPrivateIOCTL::typeSetArgs() const
188{ 176{
189 return _setargs & IW_PRIV_TYPE_MASK >> 12; 177 return _setargs & IW_PRIV_TYPE_MASK >> 12;