Commit 59a5c0c2 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

CppTools: Avoid QT_SUPPORT macro

It is deprecated, and GCC7 warns about RHS expansion to defined.

Change-Id: I161ee9c566ee12d0e443a9054dd0e5cdadc0518e
Reviewed-by: Nikolai Kosjar's avatarNikolai Kosjar <nikolai.kosjar@qt.io>
parent a86c28f4
......@@ -56,7 +56,7 @@ QString StringTable::insert(const QString &string)
if (string.isEmpty())
return string;
#if QT_SUPPORTS(UNSHARABLE_CONTAINERS)
#ifndef QT_NO_UNSHARABLE_CONTAINERS
QTC_ASSERT(const_cast<QString&>(string).data_ptr()->ref.isSharable(), return string);
#endif
......
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