Skip to content

Commit

Permalink
Fix building with older Qt
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal committed Nov 21, 2024
1 parent 09142d3 commit 17baf10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Quotient/events/event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ void AbstractEventMetaType::addDerived(const AbstractEventMetaType* newType)
// is not normal, so give as much information as possible to diagnose
if (QUO_ALARM_X(
(*existing)->className == newType->className,
QLatin1StringView(newType->className) % " claims '"_L1 % newType->matrixId
QByteArrayView(newType->className) % " claims '"_ba
% QByteArrayView(newType->matrixId)
% "' repeatedly;"
" check that it's exported across translation units or shared objects"_L1))
" check that it's exported across translation units or shared objects"_ba))
return; // That situation is very wrong so maybe std::terminate() even?

qWarning(EVENTS).nospace() << newType->matrixId << " is already mapped to "
Expand Down

0 comments on commit 17baf10

Please sign in to comment.