Changeset 4cc6c7d for libcfa/src


Ignore:
Timestamp:
Aug 31, 2021, 1:49:09 AM (3 years ago)
Author:
Jacob Prud'homme <jafprudhomme@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
Children:
e54654e
Parents:
8f01cb04
git-author:
Jacob Prud'homme <jafprudhomme@…> (07/16/21 15:17:02)
git-committer:
Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:09)
Message:

Fixed compiler error around type of generic parse function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/parseconfig.hfa

    r8f01cb04 r4cc6c7d  
    1313        this.key      = key;
    1414        this.variable = (void *)&variable;
    15         this.parse    = (bool (*)(const char *, void *))parse;
     15        this.parse    = (bool (*)(const char *, void *))(bool (*)(const char *, T &))parse;
    1616}
    1717
     
    2020        this.key      = key;
    2121        this.variable = (void *)&variable;
    22         this.parse    = (bool (*)(const char *, void *))parse;
     22        this.parse    = (bool (*)(const char *, void *))(bool (*)(const char *, T &))parse;
    2323}
    2424
Note: See TracChangeset for help on using the changeset viewer.