mirror of https://github.com/AxioDL/metaforce.git
CGameHintInfo: Take CVParamTransfer parameter by const reference
Avoids trivial unnecessary copies.
This commit is contained in:
parent
df4487bae8
commit
f5cc056a9e
|
@ -39,7 +39,7 @@ int CGameHintInfo::FindHintIndex(const char* str) {
|
||||||
return (it != gameHints.end() ? it - gameHints.begin() : -1);
|
return (it != gameHints.end() ? it - gameHints.begin() : -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
CFactoryFnReturn FHintFactory(const SObjectTag&, CInputStream& in, const CVParamTransfer, CObjectReference*) {
|
CFactoryFnReturn FHintFactory(const SObjectTag&, CInputStream& in, const CVParamTransfer&, CObjectReference*) {
|
||||||
in.readUint32Big();
|
in.readUint32Big();
|
||||||
s32 version = in.readInt32Big();
|
s32 version = in.readInt32Big();
|
||||||
|
|
||||||
|
|
|
@ -45,5 +45,5 @@ public:
|
||||||
static int FindHintIndex(const char* str);
|
static int FindHintIndex(const char* str);
|
||||||
};
|
};
|
||||||
|
|
||||||
CFactoryFnReturn FHintFactory(const SObjectTag&, CInputStream&, const CVParamTransfer, CObjectReference*);
|
CFactoryFnReturn FHintFactory(const SObjectTag&, CInputStream&, const CVParamTransfer&, CObjectReference*);
|
||||||
} // namespace urde
|
} // namespace urde
|
||||||
|
|
Loading…
Reference in New Issue