Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 1878ca1

Browse files
committed
Missing Reference methods
1 parent e24515e commit 1878ca1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Libs/libRepoMan/Data/Reference.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ namespace RM
4444
, mId( ref.objectId() )
4545
{
4646
}
47+
#endif
4748

4849
void Reference::dumpSelf(Internal::Dumper& dumper) const
4950
{
5051
dumper.addLine(QString(QStringLiteral("Ref 0x%1 [%2]"))
51-
.arg(quintptr(mPub),0,16)
52+
.arg(quintptr(this),0,16)
5253
.arg(mName));
5354
}
5455

@@ -64,14 +65,15 @@ namespace RM
6465

6566
QString Reference::objectTypeName() const
6667
{
67-
return QStringLiteral("Ref");
68+
return QStringLiteral("Reference");
6869
}
6970

7071
bool Reference::inherits(ObjTypes type) const
7172
{
72-
return type == ObjTypes::Reference || BasePrivate::inherits(type);
73+
return type == ObjTypes::Reference || Base::inherits(type);
7374
}
7475

76+
#if 0
7577
void Reference::postCreation()
7678
{
7779
RM_P(Ref);

0 commit comments

Comments
 (0)