Commit 01c325b0 authored by Antoine Regimbeau's avatar Antoine Regimbeau

COMP: comment calls that raise conflict with QT5 functions

parent b6cf864f
......@@ -533,7 +533,8 @@ operator << ( QDataStream& out, QTreeWidgetItem const * item )
"QDataStream& operator << ( QDataStream&, QTreeWidgetItem const * & );";
*/
#if DATA_STREAM_USE_TEMPLATE_OPERATORS
#if 0 // operator >> is used in QT5 this lead to wrong call, fix: comment or
// put operator >> def and decl in a specific namespace.
return operator << < QTreeWidgetItem >( out, item );
#else // DATA_STREAM_USE_TEMPLATE_OPERATORS
......@@ -553,7 +554,7 @@ operator >>( QDataStream& in, QTreeWidgetItem * & item )
"QDataStream& operator >> ( QDataStream&, QTreeWidgetItem * & );";
*/
#if DATA_STREAM_USE_TEMPLATE_OPERATORS
#if 0
return operator >> < QTreeWidgetItem >( in, item );
#else // DATA_STREAM_USE_TEMPLATE_OPERATORS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment