Skip to content
  • Mark Olesen's avatar
    bugfixing, documentation in global/debug · c90a167e
    Mark Olesen authored
    - catch missing "controlDict" file immediately via findEtcFile() instead of
      checking IFstream::good(). This avoids segfaulting, since the error
      handling in IFstream uses classes that are not yet initialized.
    - use new dictionary features (eg, lookupOrAddDefault) to reduce code
    - fixed debug::switchSet to use ref-to-pointer so pointer actually gets set!
    c90a167e