Cppcheck warning.
This commit is contained in:
parent
d9f4035f7d
commit
87889196b8
|
@ -242,7 +242,7 @@ quint32 VContainer::GetPieceForPiecePath(quint32 id) const
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VContainer::RegisterUniqueName(VGObject *obj)
|
void VContainer::RegisterUniqueName(VGObject *obj) const
|
||||||
{
|
{
|
||||||
SCASSERT(obj != nullptr)
|
SCASSERT(obj != nullptr)
|
||||||
QSharedPointer<VGObject> pointer(obj);
|
QSharedPointer<VGObject> pointer(obj);
|
||||||
|
@ -250,7 +250,7 @@ void VContainer::RegisterUniqueName(VGObject *obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VContainer::RegisterUniqueName(const QSharedPointer<VGObject> &obj)
|
void VContainer::RegisterUniqueName(const QSharedPointer<VGObject> &obj) const
|
||||||
{
|
{
|
||||||
SCASSERT(not obj.isNull())
|
SCASSERT(not obj.isNull())
|
||||||
|
|
||||||
|
|
|
@ -151,8 +151,8 @@ public:
|
||||||
void UpdateId(quint32 newId) const;
|
void UpdateId(quint32 newId) const;
|
||||||
static void UpdateId(quint32 newId, const QString &nspace);
|
static void UpdateId(quint32 newId, const QString &nspace);
|
||||||
|
|
||||||
void RegisterUniqueName(VGObject *obj);
|
void RegisterUniqueName(VGObject *obj) const;
|
||||||
void RegisterUniqueName(const QSharedPointer<VGObject> &obj);
|
void RegisterUniqueName(const QSharedPointer<VGObject> &obj) const;
|
||||||
|
|
||||||
quint32 AddGObject(VGObject *obj);
|
quint32 AddGObject(VGObject *obj);
|
||||||
quint32 AddGObject(const QSharedPointer<VGObject> &obj);
|
quint32 AddGObject(const QSharedPointer<VGObject> &obj);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user