Skip to content
Snippets Groups Projects
Commit 59a5c0c2 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

CppTools: Avoid QT_SUPPORT macro


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

Change-Id: I161ee9c566ee12d0e443a9054dd0e5cdadc0518e
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@qt.io>
parent a86c28f4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment