Changeset 18891 for trunk/FACT++/src


Ignore:
Timestamp:
06/24/17 10:59:23 (7 years ago)
Author:
tbretz
Message:
Catch the exception as const reference.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/FitsFile.h

    r12536 r18891  
    6969            fTable->addKey(name, value, comment);
    7070        }
    71         catch (CCfits::FitsException e)
     71        catch (const CCfits::FitsException &e)
    7272        {
    7373            Error("CCfits::Table::addKey failed for '"+name+"' in '"+fFile->name()+'/'+fTable->name()+"': "+e.message());
Note: See TracChangeset for help on using the changeset viewer.