mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-21 06:45:32 -06:00
Relaxed assertion that was a little too enthusiastic
This commit is contained in:
parent
c6881103c2
commit
35634c9f2a
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ public:
|
|||
}
|
||||
void pack(const QSharedPointer<NetVariant>& source, void* destination) override
|
||||
{
|
||||
Q_ASSERT(source->getVariantType() == NetVariantTypeEnum_String);
|
||||
Q_ASSERT(source->getVariantType() == NetVariantTypeEnum_String || source->getVariantType() == NetVariantTypeEnum_Invalid);
|
||||
QString* destinationString = static_cast<QString*>(destination);
|
||||
switch(source->getVariantType()){
|
||||
case NetVariantTypeEnum_Invalid:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue