summaryrefslogtreecommitdiffstats
path: root/src/tools/tqptrstack.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-28 18:02:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-28 18:02:00 +0900
commit9e057c68deed9a54f1526f2645f7927efcfb6db5 (patch)
tree48961470a35a9d2fe6f03b10d6648101c85f1fda /src/tools/tqptrstack.h
parent06d6a300dc8da750340868eabe99c285145eca21 (diff)
downloadtqt-9e057c68deed9a54f1526f2645f7927efcfb6db5.tar.gz
tqt-9e057c68deed9a54f1526f2645f7927efcfb6db5.zip
Remove Q_BROKEN_TEMPLATE_SPECIALIZATION define.
We are using c++17 compilers, so template specialization are supported. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tools/tqptrstack.h')
-rw-r--r--src/tools/tqptrstack.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tools/tqptrstack.h b/src/tools/tqptrstack.h
index 229f03ef9..d3a0f3862 100644
--- a/src/tools/tqptrstack.h
+++ b/src/tools/tqptrstack.h
@@ -76,11 +76,9 @@ private:
void deleteItem( Item d );
};
-#if !defined(Q_BROKEN_TEMPLATE_SPECIALIZATION)
template<> inline void TQPtrStack<void>::deleteItem( TQPtrCollection::Item )
{
}
-#endif
template<class type> inline void TQPtrStack<type>::deleteItem( TQPtrCollection::Item d )
{