Changeset 09fda91 for libcfa


Ignore:
Timestamp:
Aug 31, 2021, 1:49:10 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:
ecfa760
Parents:
0cfa768
git-author:
Jacob Prud'homme <jafprudhomme@…> (08/03/21 00:21:39)
git-committer:
Jacob Prud'homme <jafprudhomme@…> (08/31/21 01:49:10)
Message:

Used constructor to open file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/parseconfig.cfa

    r0cfa768 r09fda91  
    115115        KVPairs kv_pairs = { num_entries };
    116116
    117         ifstream in;
    118117        try {
    119                 open( in, config_file );                                                        // open the configuration file for input
     118                ifstream in = { config_file };                                          // open the configuration file for input
    120119
    121120                while () {
Note: See TracChangeset for help on using the changeset viewer.