Changeset 85871478 for libcfa/src


Ignore:
Timestamp:
Feb 1, 2021, 4:26:20 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
1c1c180
Parents:
8be729f
Message:

Forgot about a memory fix, don't decrement a new pointer before overwriting it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/memory.cfa

    r8be729f r85871478  
    6060        // `that` is a copy but it should have neither a constructor
    6161        // nor destructor run on it so it shouldn't need adjustment.
    62         //internal_decrement(this);
    6362        internal_copy(this, that);
    6463}
Note: See TracChangeset for help on using the changeset viewer.