diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-28 21:41:52 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-28 21:41:52 +0900 |
| commit | 0e9cae00ef660b51955c7c9abfa7eb148d8bfab0 (patch) | |
| tree | 6b46cc5b3ced64b9cba7b1293ada94bf5cfb2125 /src/tools/tqglobal.h | |
| parent | 1df9f282051905555d02d43069a2c9ca0cc89270 (diff) | |
| download | tqt-remove/tq-inline-template-define.tar.gz tqt-remove/tq-inline-template-define.zip | |
Remove TQ_INLINE_TEMPLATES define.remove/tq-inline-template-define
inline' is redundant in function template definitions, except for specific template specialization
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tools/tqglobal.h')
| -rw-r--r-- | src/tools/tqglobal.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/tools/tqglobal.h b/src/tools/tqglobal.h index 15c700058..6120dbf45 100644 --- a/src/tools/tqglobal.h +++ b/src/tools/tqglobal.h @@ -220,7 +220,6 @@ # define Q_CC_MSVC /* proper support of bool for _MSC_VER >= 1100 */ # define Q_CANNOT_DELETE_CONSTANT -# define TQ_INLINE_TEMPLATES inline /* Visual C++.Net issues for _MSC_VER >= 1300 */ # if _MSC_VER >= 1300 # define Q_CC_MSVC_NET @@ -314,7 +313,6 @@ # if __xlC__ < 0x400 # define Q_NO_USING_KEYWORD # define TQ_TYPENAME -# define TQ_INLINE_TEMPLATES inline # define Q_CANNOT_DELETE_CONSTANT # endif @@ -361,10 +359,6 @@ /* The UnixWare 7 UDK compiler is based on EDG and does define __EDG__ */ # elif defined(__USLC__) && defined(__SCO_VERSION__) # define Q_CC_USLC -/* The latest UDK 7.1.1b does not need this, but previous versions do */ -# if !defined(__SCO_VERSION__) || (__SCO_VERSION__ < 302200010) -# define TQ_INLINE_TEMPLATES inline -# endif # define Q_NO_USING_KEYWORD /* ### check "using" status */ /* Never tested! */ @@ -378,7 +372,6 @@ # define Q_CC_MIPS # if defined(_MIPS_SIM) && (_MIPS_SIM == _ABIO32) /* o32 ABI */ # define TQ_TYPENAME -# define TQ_INLINE_TEMPLATES inline # elif defined(_COMPILER_VERSION) && (_COMPILER_VERSION < 730) /* 7.2 */ # define TQ_TYPENAME # endif @@ -393,7 +386,6 @@ # define Q_CC_USLC # define TQ_TYPENAME # define Q_NO_USING_KEYWORD -# define TQ_INLINE_TEMPLATES inline /* Never tested! */ #elif defined(__HIGHC__) @@ -732,10 +724,6 @@ TQ_EXPORT int qWinVersion(); #define QT_WA_INLINE( uni, ansi ) ( uni ) #endif -#ifndef TQ_INLINE_TEMPLATES -# define TQ_INLINE_TEMPLATES -#endif - #ifndef TQ_TYPENAME # define TQ_TYPENAME typename #endif |
