Changeset 12d2dc8 for src


Ignore:
Timestamp:
Dec 5, 2017, 2:16:53 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
65197c2
Parents:
86ad276
Message:

Removed unnecessary lambada capture in Validate.cc.
Temp fix for the preempt test, issue 66

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Validate.cc

    r86ad276 r12d2dc8  
    311311                } // if
    312312                // Always remove the hoisted aggregate from the inner structure.
    313                 GuardAction( [this, aggregateDecl]() { filter( aggregateDecl->members, isStructOrUnion, false ); } );
     313                GuardAction( [aggregateDecl]() { filter( aggregateDecl->members, isStructOrUnion, false ); } );
    314314        }
    315315
  • src/tests/concurrent/preempt.c

    r86ad276 r12d2dc8  
    2424                if( (counter % 7) == this.value ) {
    2525                        int next = __atomic_add_fetch_4(&counter, 1, __ATOMIC_SEQ_CST);
    26                         if( (next % 100) == 0 ) printf("%d\n", next);
     26                        if( (next % 100) == 0 ) printf("%d\n", (int)next);
    2727                }
    2828        }
Note: See TracChangeset for help on using the changeset viewer.