TONY: Converted object passing to use const reference where appropriate.
This should cut down on the number of redunndant creations of temporary objects.
This commit is contained in:
parent
09afc8a1fa
commit
8a88ad861d
14 changed files with 87 additions and 88 deletions
|
@ -437,7 +437,7 @@ void RMGfxEngine::ItemIrq(uint32 dwItem, int nPattern, int nStatus) {
|
|||
*/
|
||||
|
||||
|
||||
void RMGfxEngine::SelectLocation(RMPoint ptTonyStart, RMPoint start) {
|
||||
void RMGfxEngine::SelectLocation(const RMPoint &ptTonyStart, const RMPoint &start) {
|
||||
#if 0
|
||||
OPENFILENAME ofn;
|
||||
char lpszFileName[512];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue