Changeset 7d61d1c for libcfa/src/vec


Ignore:
Timestamp:
Jan 16, 2020, 2:57:14 PM (23 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
e054263f
Parents:
9b026f1
Message:

Fixed returning address to local object bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/vec/vec2.hfa

    r9b026f1 r7d61d1c  
    6161        return v;
    6262    }
    63     vec2(T)& ?--(vec2(T)& v) {
     63    vec2(T) ?--(vec2(T)& v) {
    6464        vec2(T) copy = v;
    6565        --v;
     
    8585        return v;
    8686    }
    87     vec2(T)& ?++(vec2(T)& v) {
     87    vec2(T) ?++(vec2(T)& v) {
    8888        vec2(T) copy = v;
    8989        ++v;
Note: See TracChangeset for help on using the changeset viewer.