Ignore:
Timestamp:
Jun 30, 2016, 4:20:53 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
f80e0218
Parents:
34b76a8
Message:

fixed several compilation errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/examples/gc_no_raii/src/vector.c

    r34b76a8 r1b5c81ed  
    6464inline void realloc(heap_allocator(T) *const this, size_t size)
    6565{
    66         static const size_t GROWTH_RATE = 2;
     66        enum { GROWTH_RATE = 2 };
    6767        if(size > this->capacity)
    6868        {
Note: See TracChangeset for help on using the changeset viewer.