Changeset a3f2a3e for libcfa/src/parseconfig.hfa
- Timestamp:
- Aug 31, 2021, 1:49:10 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- c166f4e
- Parents:
- 1764a63
- git-author:
- Jacob Prud'homme <jafprudhomme@…> (08/13/21 17:10:06)
- git-committer:
- Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:10)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseconfig.hfa
r1764a63 ra3f2a3e 18 18 }; 19 19 20 bool null_validator( void * ) { return true; } 21 20 22 static inline void ?{}( config_entry & this ) {} 21 23 … … 25 27 this.variable = (void *)&variable; 26 28 this.parse = (bool (*)(const char *, void *))(bool (*)(const char *, T &))parse; 27 this.validate = (bool (*)(void *))(bool (*)(T &))0p;29 this.validate = null_validation; 28 30 } 29 31 … … 41 43 this.variable = (void *)&variable; 42 44 this.parse = (bool (*)(const char *, void *))(bool (*)(const char *, T &))parse; 43 this.validate = (bool (*)(void *))(bool (*)(T &))0p;45 this.validate = null_validation; 44 46 } 45 47
Note: See TracChangeset
for help on using the changeset viewer.