starting work on websocket chat reader
This commit is contained in:
@@ -6,7 +6,7 @@ InvalidIdException::InvalidIdException()
|
||||
}
|
||||
|
||||
InvalidRowIdException::InvalidRowIdException(TierRow::IdType id)
|
||||
: _id(id), _what(std::format("id: {}", _id))
|
||||
: _id(id), _what(QString("id: {}").arg(QString::number(id)).toLocal8Bit())
|
||||
{
|
||||
|
||||
}
|
||||
@@ -18,11 +18,11 @@ TierRow::IdType InvalidRowIdException::id() const
|
||||
|
||||
const char* InvalidRowIdException::what() const noexcept
|
||||
{
|
||||
return _what.c_str();
|
||||
return _what.data();
|
||||
}
|
||||
|
||||
InvalidCardIdException::InvalidCardIdException(TierCard::IdType id)
|
||||
: _id(id), _what(std::format("id: {}", _id))
|
||||
: _id(id), _what(QString("id: {}").arg(QString::number(id)).toLocal8Bit())
|
||||
{
|
||||
|
||||
}
|
||||
@@ -34,5 +34,5 @@ TierCard::IdType InvalidCardIdException::id() const
|
||||
|
||||
const char* InvalidCardIdException::what() const noexcept
|
||||
{
|
||||
return _what.c_str();
|
||||
return _what.data();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user