summaryrefslogtreecommitdiffstats
path: root/src/tools/tqglobal.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-28 21:14:39 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-28 21:14:39 +0900
commit0b8194043a40b7c19ccfc206f6f3ffea69f39ce3 (patch)
tree3e902dfe277f5ee2b095e70fe4142571154d3f9a /src/tools/tqglobal.h
parent1df9f282051905555d02d43069a2c9ca0cc89270 (diff)
downloadtqt-remove/cannot-delete-constant-define.tar.gz
tqt-remove/cannot-delete-constant-define.zip
Remove Q_CANNOT_DELETE_CONSTANT define. We are using c++17 compilers,remove/cannot-delete-constant-define
this should no longer be needed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tools/tqglobal.h')
-rw-r--r--src/tools/tqglobal.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tools/tqglobal.h b/src/tools/tqglobal.h
index 15c700058..e74c87f91 100644
--- a/src/tools/tqglobal.h
+++ b/src/tools/tqglobal.h
@@ -218,8 +218,6 @@
#elif defined(_MSC_VER)
# 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
@@ -243,7 +241,6 @@
# if defined(Q_OS_QNX4)
/* compiler flags */
# define TQ_TYPENAME
-# define Q_CANNOT_DELETE_CONSTANT
# define mutable
/* no template classes in TQVariant */
# define TQT_NO_TEMPLATE_VARIANT
@@ -315,7 +312,6 @@
# define Q_NO_USING_KEYWORD
# define TQ_TYPENAME
# define TQ_INLINE_TEMPLATES inline
-# define Q_CANNOT_DELETE_CONSTANT
# endif
/* Compilers with EDG front end are similar. To detect them we test: