Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7243 in orxonox.OLD for branches/preferences/src/lib/util


Ignore:
Timestamp:
Mar 24, 2006, 4:28:02 PM (18 years ago)
Author:
rennerc
Message:
 
Location:
branches/preferences/src/lib/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/preferences/src/lib/util/preferences.cc

    r7234 r7243  
    157157 * @param value value
    158158 */
    159 void Preferences::setMultiType(const char* section, const char* name, MultiType& value, bool dontSetModified)
     159void Preferences::setMultiType(const char* section, const char* name, const MultiType& value, bool dontSetModified)
    160160{
    161161  std::list<prefSection>::iterator it = data.begin();
  • branches/preferences/src/lib/util/preferences.h

    r7236 r7243  
    4141   void setInt(const std::string& section, const std::string& name, int value, bool dontSetModified = false);
    4242   void setFloat(const std::string& section, const std::string& name, float value, bool dontSetModified = false);
    43    void setMultiType(const std::string& section, const std::string& name, MultiType& value, bool dontSetModified = false);
     43   void setMultiType(const std::string& section, const std::string& name, const MultiType& value, bool dontSetModified = false);
    4444
    4545   const std::string getString(const std::string& section, const std::string& name, const std::string& defaultValue);
Note: See TracChangeset for help on using the changeset viewer.