Changeset 39 for trunk/lib/Gnuplot.h


Ignore:
Timestamp:
Jan 13, 2006, 4:02:31 PM (16 years ago)
Author:
Jari Häkkinen
Message:

Gnuplot working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Gnuplot.h

    r36 r39  
    1818  ///
    1919  struct GnuplotException : public std::runtime_error
    20   { inline GnuplotException(const std::string &msg) : runtime_error(msg) {} };
     20  { inline GnuplotException(const std::string& msg) : runtime_error(msg) {} };
    2121
    2222  ///
     
    6161    /// @note The \a style is not checked to be valid.
    6262    ///
    63     inline void linestyle(std::string style) { linestyle_=style; }
     63    inline void linestyle(const std::string& style) { linestyle_=style; }
    6464
    6565    ///
     
    6868    /// called again.
    6969    ///
    70     inline void linetitle(std::string title) { linetitle_=title; }
     70    inline void linetitle(const std::string& title) { linetitle_=title; }
    7171
    7272    ///
Note: See TracChangeset for help on using the changeset viewer.