Changeset 1939


Ignore:
Timestamp:
Apr 9, 2013 3:10:03 PM (6 years ago)
Author:
stefan
Message:

make arguments of ClpModel::copyNames const as suggested in #57

Location:
trunk/Clp/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpModel.cpp

    r1936 r1939  
    34243424// Copies in names
    34253425void
    3426 ClpModel::copyNames(std::vector<std::string> & rowNames,
    3427                     std::vector<std::string> & columnNames)
     3426ClpModel::copyNames(const std::vector<std::string> & rowNames,
     3427                    const std::vector<std::string> & columnNames)
    34283428{
    34293429     unsigned int maxLength = 0;
  • trunk/Clp/src/ClpModel.hpp

    r1926 r1939  
    267267     void dropNames();
    268268     /// Copies in names
    269      void copyNames(std::vector<std::string> & rowNames,
    270                     std::vector<std::string> & columnNames);
     269     void copyNames(const std::vector<std::string> & rowNames,
     270                    const std::vector<std::string> & columnNames);
    271271     /// Copies in Row names - modifies names first .. last-1
    272272     void copyRowNames(const std::vector<std::string> & rowNames, int first, int last);
Note: See TracChangeset for help on using the changeset viewer.