Remove the #ifdef check just before #undef

No warning is printed anyway. This code is only for one compiler (GCC on
QNX, a.k.a. QCC).

Change-Id: I28d085c72ab5a957146efab0a36c72f213d9d2c3
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
bb10
Thiago Macieira 2014-04-12 10:01:50 -07:00 committed by The Qt Project
parent 6977700bed
commit 94742faece
1 changed files with 2 additions and 6 deletions

View File

@ -848,12 +848,8 @@
// QNX: libcpp (Dinkumware-based) doesn't have the <initializer_list>
// header, so the feature is useless, even if the compiler supports
// it. Disable.
# ifdef Q_COMPILER_INITIALIZER_LISTS
# undef Q_COMPILER_INITIALIZER_LISTS
# endif
# ifdef Q_COMPILER_RVALUE_REFS
# undef Q_COMPILER_RVALUE_REFS
# endif
# undef Q_COMPILER_INITIALIZER_LISTS
# undef Q_COMPILER_RVALUE_REFS
# endif
# endif
#endif // Q_OS_QNX