Changeset a41b50


Ignore:
Timestamp:
Apr 10, 2009, 11:28:39 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
1b2aa1
Parents:
bb12e7
Message:

return type of MoleculeListClass::insert is now void instead of bool (insertion into list always works)

Location:
molecuilder/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/moleculelist.cpp

    rbb12e7 ra41b50  
    3535 * \return true - add successful
    3636 */
    37 bool MoleculeListClass::insert(molecule *mol)
     37void MoleculeListClass::insert(molecule *mol)
    3838{
    3939  mol->IndexNr = MaxIndex++;
  • molecuilder/src/molecules.hpp

    rbb12e7 ra41b50  
    346346        bool AddHydrogenCorrection(ofstream *out, char *path);
    347347        bool StoreForcesFile(ofstream *out, char *path, int *SortIndex);
    348         bool insert(molecule *mol);
     348        void insert(molecule *mol);
    349349        molecule * ReturnIndex(int index);
    350350        bool OutputConfigForListOfFragments(ofstream *out, config *configuration, int *SortIndex);
Note: See TracChangeset for help on using the changeset viewer.