Changeset 4c0fa03


Ignore:
Timestamp:
Sep 1, 2023, 11:16:41 AM (10 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
8a9a3ab
Parents:
950c58e
Message:

Removed extra copy in FixInitNew?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInitNew.cpp

    r950c58e r4c0fa03  
    573573        assertf( global.dtorDestroy, "Destructor generation requires __destroy_Destructor." );
    574574
    575         const CodeLocation loc = ret->location;
     575        const CodeLocation & loc = ret->location;
    576576
    577577        // generate a __Destructor for ret that calls the destructor
Note: See TracChangeset for help on using the changeset viewer.